DevOps Engineer
|
0e7bcff6b0
|
feat(ml): add ensemble XGBoost+LightGBM+MLP with Optuna optimization
- train_ensemble.py: full training pipeline with 100-trial Optuna studies
for XGBoost and LightGBM, MLP (256-128-64), SHAP feature selection,
weighted soft-voting ensemble, benchmark report generation
- predict_v2.py: production prediction module with model cache invalidation
- combined_api.py: add /api/v1/predictions, /api/v1/model/status,
/api/v1/model/invalidate-cache endpoints using ensemble model
- tests/test_ml_ensemble.py: regression, latency and API tests
Baseline XGBoost Precision@3: 0.5287 (holdout 20% temporal)
Deploy threshold: +5% = 0.5551
Co-Authored-By: Paperclip <noreply@paperclip.ing>
|
2026-04-25 18:18:48 +02:00 |
|