I came across these 2 papers which combined collaborative filtering (Matrix factorization) and Topic modelling (LDA) to recommend users similar articles/posts based on topic terms of post/articles that users are interested in.
The papers (in PDF) are: "Collaborative Topic Modeling for Recommending Scientific Articles" and "Collaborative Topic Modeling for Recommending GitHub Repositories"
The new algorithm is called collaborative topic regression. I was hoping to find some python code that implemented this but to no avail. This might be a long shot but can someone show a simple python example?
This should get you started (although not sure why this hasn't been posted yet): https://github.com/arongdari/python-topic-model
More specifically: https://github.com/arongdari/python-topic-model/blob/master/ptm/collabotm.py
Looks nice and straightforward. I still suggest at least looking at
gensim
. Radim has done a fantastic job of optimizing that software very well.As you have tagged machine-learning and python, did you take a look at python pandas & sklearn modules, because with both of them you can quickly create a lot of linear regression object.
Also there is a code example relative to Topic extraction (with Non-negative Matrix Factorization and Latent Dirichlet Allocation) which may fit your exact needs and also help you to discover sklearn module
Regards
A very simple LDA implementation using gensin. You can find more informations here: https://radimrehurek.com/gensim/tutorial.html
I hope it can help you
[(0, u'0.066*animal + 0.065*, + 0.047*product + 0.028*philosophy'), (1, u'0.085*. + 0.047*product + 0.028*dietary + 0.028*veg')]