6

I work now with the Graphlab. After installing of this program, I could run the algorithms of Collaborative filtering. Now I try to work with Graphlab in the Python. I have found already this brilliant toolkits. My question is, does anybody know about Collaborative Filtering in the python implementation? I couldn't find this tool & it seems me it doesn't implemented for Python...

Thank you in advance.

Christopher DuBois
  • 42,350
  • 23
  • 71
  • 93
Guforu
  • 3,835
  • 8
  • 33
  • 52
  • 1
    You question is a bit unclear, what exactly do you want to know? – Tim Jul 02 '14 at 12:25
  • For example, I could call pagerank fuction in python implementation (you can find example on the given page). Now, I want use for example ALS in the python implemetation. ALS is one of algorithms from Collaborative Filtering. Anyway I couldn't find this implemetation in the package graphlab for the Python code. – Guforu Jul 02 '14 at 12:28

2 Answers2

9

Check out the recommender package in GraphLab Create. It lets you create a collaborative filtering model in just a few lines.

import graphlab
sf = graphlab.SFrame.read_csv('my_data.csv')
m = graphlab.recommender.create(data)
recs = m.recommend()

You will likely be most interested in the item similarity models, but you should also check out the other options for the method argument, such as matrix_factorization.

Christopher DuBois
  • 42,350
  • 23
  • 71
  • 93
1

Apart from above suggestions in Answer section, I will STRONGLY recommend you to do a course on Coursera Here for getting better understanding of ML and Recommendation Systems. For just getting started with Collaborative filtering, you also may refer this simple and easily understandable blog Here and obvious Turi official Website . I hope this helps.

Hari_pb
  • 7,088
  • 3
  • 45
  • 53