Add REES46 recommendation pipeline and purchase-probability model - #319
Merged
Merged
Conversation
Contributor
Author
|
ready to merge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds the
ML/Recommendation_system/Recommendation-2026-t2/sub-project, containing the REES46 data-processing, feature-engineering, model-training and Top-10 recommendation workflow.It also updates
.gitignoreto exclude:ML/Recommendation_system/Recommendation-2026-t2/data/The data directory contains approximately 16 GB of raw and processed datasets and should not be committed to Git.
What was added
Time-based dataset preparation
Contributor: SERAY MIRNAK GULSEVEN
User-product interaction aggregation
feature2_dataagg.ipynb.Contributor: ISHANI SACHIN BHONGALE
Initial feature extraction
extract.ipynb.Contributor: ROHIT SRINIVAS SHIBINENI
Additional features and model training
DiscountMate_additional_features_model.ipynb.Contributor: Team Leader Ethan Fu
Exported model
The selected calibrated Logistic Regression model and its metadata are included under:
ML/Recommendation_system/Recommendation-2026-t2/models/DiscountMate_REES46_purchase_probability_model.joblibML/Recommendation_system/Recommendation-2026-t2/models/DiscountMate_REES46_purchase_probability_model_metadata.jsonThe model outputs
purchase_probability, which is used to rank candidate products for each user and select the Top 10.Test results
The ranking model performs well for products already present in the recent-interaction candidate set. The main limitation is candidate coverage, which can be improved later using collaborative filtering, similar products and popularity-based candidate generation.
Data availability
The
data/folder is excluded through.gitignorebecause of its size.To reproduce the processed datasets:
data/.DiscountMate_additional_features_model.ipynbto train, evaluate and export the model.Verification
Documentation
Detailed methodology, feature definitions, model parameters, evaluation results and usage instructions are available in:
ML/Recommendation_system/Recommendation-2026-t2/README.md