├── .gitignore ├── .idea ├── Recommender System.iml ├── misc.xml ├── modules.xml ├── vcs.xml └── workspace.xml ├── Collaborative Filtering ├── Cambridge.py ├── FILTERINGDATA.py ├── ItemBasedCF (2).py ├── ItemBasedCF.py ├── RMSE.py ├── Recommender │ └── Recommender.py ├── Test.py ├── UBCFRMSE.py ├── UserBasedCF.py ├── kNNIBCF.py └── kNNUBCF.py ├── ConvMF ├── README.md ├── __init__.py ├── data_manager.py ├── models.py ├── run.py ├── run_test_ConvMF.sh ├── run_test_preprocess.sh ├── text_analysis │ ├── __init__.py │ └── models.py └── util.py ├── Data ├── ml-100k │ └── Note.txt └── ml-1m │ └── Note.txt ├── Deep-Cross-Net ├── data │ ├── test.csv │ └── train.csv └── src │ ├── DCN.py │ ├── DataLoader.py │ ├── config.py │ └── main.py ├── Demo.py ├── Docs ├── Collaborative Filtering with User Ratings and Tags.pdf ├── Leveraging Tagging for Neighborhood-aware Probabilistic Matrix Factorization.pdf ├── Probabilistic Matrix Factorization.pptx ├── Probabilistic-matrix-factorization.pdf ├── Tag Informed Collaborative Filtering.pdf ├── UBCF.png └── 基于时序行为的协同过滤推荐算法.pdf ├── Factorization-Machine └── FM_model.py ├── Field-aware-Factorization-Machine └── FFM_model.py ├── ItemBasedCF.py ├── MovieLens Test.ipynb ├── Probabilistic Matrix Factorization ├── Probabilistic-Matrix-Factorization.py └── README.md ├── README.md ├── UserBasedCF.py └── loadMovieLens.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/Recommender System.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/.idea/Recommender System.iml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/.idea/workspace.xml -------------------------------------------------------------------------------- /Collaborative Filtering/Cambridge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Collaborative Filtering/Cambridge.py -------------------------------------------------------------------------------- /Collaborative Filtering/FILTERINGDATA.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Collaborative Filtering/FILTERINGDATA.py -------------------------------------------------------------------------------- /Collaborative Filtering/ItemBasedCF (2).py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Collaborative Filtering/ItemBasedCF (2).py -------------------------------------------------------------------------------- /Collaborative Filtering/ItemBasedCF.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Collaborative Filtering/ItemBasedCF.py -------------------------------------------------------------------------------- /Collaborative Filtering/RMSE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Collaborative Filtering/RMSE.py -------------------------------------------------------------------------------- /Collaborative Filtering/Recommender/Recommender.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Collaborative Filtering/Recommender/Recommender.py -------------------------------------------------------------------------------- /Collaborative Filtering/Test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Collaborative Filtering/Test.py -------------------------------------------------------------------------------- /Collaborative Filtering/UBCFRMSE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Collaborative Filtering/UBCFRMSE.py -------------------------------------------------------------------------------- /Collaborative Filtering/UserBasedCF.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Collaborative Filtering/UserBasedCF.py -------------------------------------------------------------------------------- /Collaborative Filtering/kNNIBCF.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Collaborative Filtering/kNNIBCF.py -------------------------------------------------------------------------------- /Collaborative Filtering/kNNUBCF.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Collaborative Filtering/kNNUBCF.py -------------------------------------------------------------------------------- /ConvMF/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/ConvMF/README.md -------------------------------------------------------------------------------- /ConvMF/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ConvMF/data_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/ConvMF/data_manager.py -------------------------------------------------------------------------------- /ConvMF/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/ConvMF/models.py -------------------------------------------------------------------------------- /ConvMF/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/ConvMF/run.py -------------------------------------------------------------------------------- /ConvMF/run_test_ConvMF.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/ConvMF/run_test_ConvMF.sh -------------------------------------------------------------------------------- /ConvMF/run_test_preprocess.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/ConvMF/run_test_preprocess.sh -------------------------------------------------------------------------------- /ConvMF/text_analysis/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ConvMF/text_analysis/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/ConvMF/text_analysis/models.py -------------------------------------------------------------------------------- /ConvMF/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/ConvMF/util.py -------------------------------------------------------------------------------- /Data/ml-100k/Note.txt: -------------------------------------------------------------------------------- 1 | save datas in this folder -------------------------------------------------------------------------------- /Data/ml-1m/Note.txt: -------------------------------------------------------------------------------- 1 | save datas in this folder -------------------------------------------------------------------------------- /Deep-Cross-Net/data/test.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Deep-Cross-Net/data/test.csv -------------------------------------------------------------------------------- /Deep-Cross-Net/data/train.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Deep-Cross-Net/data/train.csv -------------------------------------------------------------------------------- /Deep-Cross-Net/src/DCN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Deep-Cross-Net/src/DCN.py -------------------------------------------------------------------------------- /Deep-Cross-Net/src/DataLoader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Deep-Cross-Net/src/DataLoader.py -------------------------------------------------------------------------------- /Deep-Cross-Net/src/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Deep-Cross-Net/src/config.py -------------------------------------------------------------------------------- /Deep-Cross-Net/src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Deep-Cross-Net/src/main.py -------------------------------------------------------------------------------- /Demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Demo.py -------------------------------------------------------------------------------- /Docs/Collaborative Filtering with User Ratings and Tags.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Docs/Collaborative Filtering with User Ratings and Tags.pdf -------------------------------------------------------------------------------- /Docs/Leveraging Tagging for Neighborhood-aware Probabilistic Matrix Factorization.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Docs/Leveraging Tagging for Neighborhood-aware Probabilistic Matrix Factorization.pdf -------------------------------------------------------------------------------- /Docs/Probabilistic Matrix Factorization.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Docs/Probabilistic Matrix Factorization.pptx -------------------------------------------------------------------------------- /Docs/Probabilistic-matrix-factorization.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Docs/Probabilistic-matrix-factorization.pdf -------------------------------------------------------------------------------- /Docs/Tag Informed Collaborative Filtering.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Docs/Tag Informed Collaborative Filtering.pdf -------------------------------------------------------------------------------- /Docs/UBCF.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Docs/UBCF.png -------------------------------------------------------------------------------- /Docs/基于时序行为的协同过滤推荐算法.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Docs/基于时序行为的协同过滤推荐算法.pdf -------------------------------------------------------------------------------- /Factorization-Machine/FM_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Factorization-Machine/FM_model.py -------------------------------------------------------------------------------- /Field-aware-Factorization-Machine/FFM_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Field-aware-Factorization-Machine/FFM_model.py -------------------------------------------------------------------------------- /ItemBasedCF.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/ItemBasedCF.py -------------------------------------------------------------------------------- /MovieLens Test.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/MovieLens Test.ipynb -------------------------------------------------------------------------------- /Probabilistic Matrix Factorization/Probabilistic-Matrix-Factorization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Probabilistic Matrix Factorization/Probabilistic-Matrix-Factorization.py -------------------------------------------------------------------------------- /Probabilistic Matrix Factorization/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/Probabilistic Matrix Factorization/README.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Recommender-System 2 | 利用MovieLens数据,Pearson相似度,分别基于User和Item构建一个简单的kNN推荐系统,并给出RMSE评测 3 | -------------------------------------------------------------------------------- /UserBasedCF.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/UserBasedCF.py -------------------------------------------------------------------------------- /loadMovieLens.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fuhailin/Recommender-System/HEAD/loadMovieLens.py --------------------------------------------------------------------------------