TrainTestLabelDrift.add_condition_drift_score_less_than#
- TrainTestLabelDrift.add_condition_drift_score_less_than(max_allowed_categorical_score: float = 0.2, max_allowed_numeric_score: float = 0.1)[source]#
Add condition - require drift score to be less than the threshold.
The industry standard for PSI limit is above 0.2. Cramer’s V does not have a common industry standard. Earth movers does not have a common industry standard.
- Parameters
- max_allowed_categorical_score: float , default: 0.2
the max threshold for the categorical variable drift score
- max_allowed_numeric_score: float , default: 0.1
the max threshold for the numeric variable drift score
- Returns
- ——-
- ConditionResult
False if any column has passed the max threshold, True otherwise