evalml.guardrails.detect_outliers

class evalml.guardrails.detect_outliers[source]

Checks if there are any outliers in a dataframe by using first Isolation Forest to obtain the anomaly score of each index and then using IQR to determine score anomalies. Indices with score anomalies are considered outliers.

Parameters

X (DataFrame) – features

Returns

A set of indices that may have outlier data.