dataeval.outputs.OODScoreOutput

class dataeval.outputs.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

data()

The output data as a dictionary.

Return type:

dict[str, Any]

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

meta()

Metadata about the execution of the function or method for the Output class.

Return type:

ExecutionMetadata