Skip to content

Leavingseason/OpenLearning4DeepRecsys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

OpenLearning4DeepRecsys

We have implemented some popular and promising recommendation systems with deep learning techniques. We would like to open souce the code and hope it can help more people on the related topics, and at the same time improve our code quality.

Environment: python 3.5, tensorflow 1.0.0

Usage: Simply download the corresponding file, modify some lines according to your own configuration, then run "python xxxx.py". Currently we aim to provide the opportunity for communication in research area. Later we plan to build an integrated tool for off-the-shelf usage. So kindly let me know if you have any suggestions.

DeepFM

https://arxiv.org/abs/1703.04247 DeepFM: A Factorization-Machine based Neural Network for CTR Prediction. We implement the model according to the paper. Some results (AUC) on the demo dataset:

  • Linear only: 0.669
  • FM only: 0.684
  • DNN only: 0.671
  • DeepFM: 0.692 .

Notice: (1) Input format is the same as svmlight, feature index starts with 1. (2) You have to provide the "field number" (a.k.a field_cnt in the source code) for the input feature file. All instances have exactly field_cnt fields. Each field can be numerical type or categorical (one-hot) type.

CCFNet

http://dl.acm.org/citation.cfm?id=3054207 Part of the paper "CCCFNet: A Content-Boosted Collaborative Filtering Neural Network for Cross Domain Recommender Systems". The original code was written in c#. We re-implement the model in tensorflow for unification. The demo data is from MovieLens.

Biased Matrix Factorization

BMF model in https://datajobs.com/data-science-repo/Recommender-Systems-%5BNetflix%5D.pdf . Demo data is Douban user-book sample dataset.

NeuCF

Neural collaborative fitering from https://github.com/hexiangnan/neural_collaborative_filtering. Xiangnan He, Lizi Liao, Hanwang Zhang, Liqiang Nie, Xia Hu and Tat-Seng Chua (2017). Neural Collaborative Filtering. In Proceedings of WWW '17, Perth, Australia, April 03-07, 2017. The original source code is written in keras v1 and use Theano as the backend. We re-implement the model in tensorflow for unification.

RNN - embedding-based news recommender system

Please see the repository here https://github.com/Leavingseason/rnn_recsys.

Our implementation of one research paper "Embedding-based News Recommendation for Millions of Users" https://dl.acm.org/citation.cfm?id=3098108 Shumpei Okura, Yukihiro Tagami, Shingo Ono, and Akira Tajima. 2017. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD '17).