dataeval.detectors.ood.OODScoreOutput

class dataeval.detectors.ood.OODScoreOutput

Output class for instance and feature scores from out-of-distribution detectors.

instance_score

Instance score of the evaluated dataset.

Type:

NDArray

feature_score

Feature score, if available, of the evaluated dataset.

Type:

NDArray | None, default None

get(ood_type)

Returns either the instance or feature score

Parameters:
ood_type : "instance" | "feature"

Returns:

Either the instance or feature score based on input selection

Return type:

NDArray