dataeval.utils.thresholds

Threshold classes for computing lower and upper bounds from data.

Original source code derived from NannyML 0.13.0.

https://github.com/NannyML/nannyml/blob/main/nannyml/thresholds.py.

Licensed under Apache Software License (Apache 2.0)

Classes

ConstantThreshold

A Threshold implementation that returns a constant lower and or upper threshold value.

IQRThreshold

Threshold based on interquartile range.

ModifiedZScoreThreshold

Threshold based on modified z-score (median absolute deviation (MAD)).

ZScoreThreshold

Threshold based on z-score (standard deviation from mean).