dataeval.outputs.MostDeviatedFactorsOutput

class dataeval.outputs.MostDeviatedFactorsOutput(data)

Output class for results of most_deviated_factors() for OOD samples with metadata.

Parameters:
data : collections.abc.Sequence[TValue]

value

A tuple of the factor name and deviation of the highest metadata deviation

Type:

tuple[str, float]

count(value)

S.count(value) -> integer – return number of occurrences of value

data()

The output data as a collection.

Return type:

Collection

index(value, start=0, stop=None)

S.index(value, [start, [stop]]) -> integer – return first index of value. Raises ValueError if the value is not present.

Supporting start and stop arguments is optional, but recommended.

meta()

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

Return type:

ExecutionMetadata