dataeval.metrics.bias.LabelParityOutput

class dataeval.metrics.bias.LabelParityOutput

Output class for label_parity() bias metrics.

score

chi-squared score(s) of the test

Type:

float

p_value

p-value(s) of the test

Type:

float

data()

The output data as a dictionary.

Return type:

dict[str, Any]

meta()

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

Return type:

ExecutionMetadata

to_dataframe()

Exports the parity output results to a pandas DataFrame.

Return type:

pd.DataFrame

Notes

This method requires pandas to be installed.