AlertCondition
AlertCondition
GREATER
LESSER
Example
# Alert when data drift exceeds 5%
drift_alert = AlertRule(
condition=AlertCondition.GREATER,
threshold=0.05
)
# Alert when model accuracy drops below 90%
accuracy_alert = AlertRule(
condition=AlertCondition.LESSER,
threshold=0.90
)GREATER = 'greater'
LESSER = 'lesser'
Last updated
Was this helpful?