model_performance_callback#

Model performance callback for forecasting workflows.

Evaluates model performance against a specified metric and threshold at the end of fitting. If the model’s performance does not meet the defined criteria, a ModelUnderperformingError is raised. This allows for early stopping of workflows or using a fallback model when performance is insufficient.

Classes#

ModelPerformanceCallback(**data)

Callback for comparing model performance against a treshold during the fit process.