dataeval.detectors.linters.OutliersOutput

class dataeval.detectors.linters.OutliersOutput

Output class for Outliers lint detector.

issues

Indices of image Outliers with their associated issue type and calculated values.

Type:

Mapping[int, Mapping[str, float]] | Sequence[Mapping[int, Mapping[str, float]]]

- For a single dataset, a dictionary containing the indices of outliers and

a dictionary showing the issues and calculated values for the given index.

- For multiple stats outputs, a list of dictionaries containing the indices of

outliers and their associated issues and calculated values.

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(labelstats)

Exports the outliers output results to a pandas DataFrame.

Parameters:
labelstats : LabelStatsOutput

Output of labelstats()

Return type:

pd.DataFrame

Notes

This method requires pandas to be installed.

to_table(labelstats)

Formats the outlier output results as a table.

Parameters:
labelstats : LabelStatsOutput

Output of labelstats()

Return type:

str