CoFactor: Regularizing Matrix Factorization with Item Co-occurrence
Jupyter Notebook Python
Switch branches/tags
Nothing to show
Clone or download
dawenl Merge pull request #1 from quangvu0702/master
Update according to bottleneck API change
Latest commit 6364b44 Aug 22, 2017
Failed to load latest commit information.
src error with argpartsort on new version python 2 Aug 22, 2017
.gitignore Initial commit Jul 3, 2016
LICENSE Initial commit Jul 3, 2016 Update Jul 15, 2016


This repository contains the source code to reproduce the experimental results as described in the paper "Factorization Meets the Item Embedding: Regularizing Matrix Factorization with Item Co-occurrence" (RecSys'16).


The python module dependencies are:

  • numpy/scipy
  • scikit.learn
  • joblib
  • bottleneck
  • pandas (needed to run the example for data preprocessing)

Note: The code is mostly written for Python 2.7. For Python 3.x, it is still usable with minor modification. If you run into any problem with Python 3.x, feel free to contact me and I will try to get back to you with a helpful solution.


We adapted the weighted matrix factorization (WMF) implementation from content_wmf repository.


See example notebooks in src/.