dataeval.outputs.ParityOutput

class dataeval.outputs.ParityOutput

Output class for parity() bias metrics.

score

chi-squared score(s) of the test

Type:

NDArray[np.float64]

p_value

p-value(s) of the test

Type:

NDArray[np.float64]

factor_names

Names of each metadata factor

Type:

Sequence[str]

insufficient_data

Dictionary of metadata factors with less than 5 class occurrences per value

Type:

dict

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.