marcolouis commited on
Commit
9166aef
·
1 Parent(s): 3932a6f

feat: Implement feature extraction and training pipeline for recommendation system

Browse files

- Added `feature_extractor.py` to handle feature extraction from plans, places, and user interactions.
- Updated `verify_setup.py` to include the new "interests" table in database verification.
- Introduced `trainer.py` for the ML training pipeline, including dataset preparation, model training, evaluation metrics, and early stopping.
- Implemented various metrics for model evaluation such as MSE, MAE, Precision@K, Recall@K, and NDCG@K.
- Established a training loop with gradient clipping and learning rate scheduling.

5 files changed +1105 -258
Files changed (5)
model/feature_extractor.pyAdded+258
model/recommender.py+1-1
model/trainer.pyAdded+438
train.py+407-256
verify_setup.py+1-1