├── .gitignore ├── .vscode └── settings.json ├── README.md ├── cfgs ├── features │ ├── features-0.yaml │ └── rules-0.yaml ├── model-train-0test.yaml ├── model-train-0val.yaml ├── model-train-1test.yaml ├── model-train-1val.yaml └── xgb-features3.yaml ├── imgs └── candidate_ranker.png ├── input ├── huggingface │ ├── .gitignore │ └── version.txt └── iterative-stratification │ └── iterstrat │ ├── __init__.py │ └── ml_stratifiers.py ├── notebooks ├── aid-merlin-matrix-fact.ipynb ├── aid_embeddings.ipynb ├── aids_word2vec.py └── bpr_implicit.py ├── scripts ├── execute_all_training_files.sh ├── features.sh ├── rules.sh └── train-execute.sh ├── src ├── create_features.py ├── rules_only.py └── train.py └── utils ├── __init__.py ├── aid_features.py ├── interaction_features.py ├── log.py ├── metrics.py ├── models ├── __init__.py └── xgb_ranker.py ├── prep.py ├── processing ├── __init__.py ├── candidates.py ├── co_vis_matrices.py └── preprocess_data.py ├── session_features.py ├── stratify.py └── visualization.py /.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | __pycache__/ 3 | output/* 4 | data/ 5 | notebooks/unused/* 6 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/README.md -------------------------------------------------------------------------------- /cfgs/features/features-0.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/cfgs/features/features-0.yaml -------------------------------------------------------------------------------- /cfgs/features/rules-0.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/cfgs/features/rules-0.yaml -------------------------------------------------------------------------------- /cfgs/model-train-0test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/cfgs/model-train-0test.yaml -------------------------------------------------------------------------------- /cfgs/model-train-0val.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/cfgs/model-train-0val.yaml -------------------------------------------------------------------------------- /cfgs/model-train-1test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/cfgs/model-train-1test.yaml -------------------------------------------------------------------------------- /cfgs/model-train-1val.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/cfgs/model-train-1val.yaml -------------------------------------------------------------------------------- /cfgs/xgb-features3.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/cfgs/xgb-features3.yaml -------------------------------------------------------------------------------- /imgs/candidate_ranker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/imgs/candidate_ranker.png -------------------------------------------------------------------------------- /input/huggingface/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/input/huggingface/.gitignore -------------------------------------------------------------------------------- /input/huggingface/version.txt: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /input/iterative-stratification/iterstrat/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/input/iterative-stratification/iterstrat/__init__.py -------------------------------------------------------------------------------- /input/iterative-stratification/iterstrat/ml_stratifiers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/input/iterative-stratification/iterstrat/ml_stratifiers.py -------------------------------------------------------------------------------- /notebooks/aid-merlin-matrix-fact.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/notebooks/aid-merlin-matrix-fact.ipynb -------------------------------------------------------------------------------- /notebooks/aid_embeddings.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/notebooks/aid_embeddings.ipynb -------------------------------------------------------------------------------- /notebooks/aids_word2vec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/notebooks/aids_word2vec.py -------------------------------------------------------------------------------- /notebooks/bpr_implicit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/notebooks/bpr_implicit.py -------------------------------------------------------------------------------- /scripts/execute_all_training_files.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/scripts/execute_all_training_files.sh -------------------------------------------------------------------------------- /scripts/features.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/scripts/features.sh -------------------------------------------------------------------------------- /scripts/rules.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/scripts/rules.sh -------------------------------------------------------------------------------- /scripts/train-execute.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/scripts/train-execute.sh -------------------------------------------------------------------------------- /src/create_features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/src/create_features.py -------------------------------------------------------------------------------- /src/rules_only.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/src/rules_only.py -------------------------------------------------------------------------------- /src/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/src/train.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/aid_features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/utils/aid_features.py -------------------------------------------------------------------------------- /utils/interaction_features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/utils/interaction_features.py -------------------------------------------------------------------------------- /utils/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/utils/log.py -------------------------------------------------------------------------------- /utils/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/utils/metrics.py -------------------------------------------------------------------------------- /utils/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/models/xgb_ranker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/utils/models/xgb_ranker.py -------------------------------------------------------------------------------- /utils/prep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/utils/prep.py -------------------------------------------------------------------------------- /utils/processing/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/processing/candidates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/utils/processing/candidates.py -------------------------------------------------------------------------------- /utils/processing/co_vis_matrices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/utils/processing/co_vis_matrices.py -------------------------------------------------------------------------------- /utils/processing/preprocess_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/utils/processing/preprocess_data.py -------------------------------------------------------------------------------- /utils/session_features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/utils/session_features.py -------------------------------------------------------------------------------- /utils/stratify.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/utils/stratify.py -------------------------------------------------------------------------------- /utils/visualization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mddunlap924/Ecommerce-Recommender-System/main/utils/visualization.py --------------------------------------------------------------------------------