- trigger_retrain() now calls fit_prophet/fit_isolation_forest and save_models
- Update last_retrain_at and record accuracy_after/improvement_pct
- Auto-retrain when schedule has auto_retrain=True
- Add 9 tests covering training invocation, persistence, auto-retrain
Summary
Connects the ML retraining scaffolding to actual model training and persistence.
Changes
trigger_retrain(): now callsfit_prophet/fit_isolation_forestandsave_modelsbased on model namelast_retrain_atand recordsaccuracy_after/improvement_pctauto_retrain=True, automatically triggers retrain on detectionTests
9 tests covering training invocation, model persistence, auto-retrain, and failure handling.