TextEmbeddingsDrift.add_condition_overall_drift_value_less_than#

TextEmbeddingsDrift.add_condition_overall_drift_value_less_than(max_drift_value: float = 0.25)[source]#

Add condition.

Overall drift score, calculated as (2 * AUC - 1) for the AUC of the dataset discriminator model, is less than the specified value. This value is used as it scales the AUC value to the range [0, 1], where 0 indicates a random model (and no drift) and 1 indicates a perfect model (and completely distinguishable datasets).

Parameters
max_drift_valuefloat , default: 0.25

Maximal drift value allowed (value 0 and above)