candle-annotator/services/ml/training
Marko Djordjevic cbb921b4a7 Scope MLflow experiment names to include user ID (Task 14.2)
- Updated FastAPI /training/start endpoint to extract X-User-ID header via get_user_id() dependency
- Modified _run_training_background to accept and use user_id parameter
- Added MLflow experiment setup with user scoping: experiments are named user_{user_id}_training when user_id is provided, falling back to default experiment name otherwise
- Updated database record insertion to store scoped experiment name
- Updated training/train.py train() function to accept user_id parameter and use it for experiment naming
- Mark task 14.2 as complete in tasks.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 13:46:00 +01:00
..
__pycache__ fix(ml): complete ML pipeline fixes and setup 2026-02-15 21:29:54 +01:00
models Fix XGBoost label encoding and single-class guard 2026-02-18 23:58:24 +01:00
__init__.py feat(ml): implement training stage with MLflow tracking and model wrappers 2026-02-15 14:22:19 +01:00
evaluation.py fix(ml): complete ML pipeline fixes and setup 2026-02-15 21:29:54 +01:00
train.py Scope MLflow experiment names to include user ID (Task 14.2) 2026-02-20 13:46:00 +01:00