Skip to content
/ reco Public
forked from mayukh18/reco

a simple yet versatile recommendation systems library in python

License

Notifications You must be signed in to change notification settings

kuliketik/reco

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reco

a simple yet versatile recommendation systems library in python

Currently it has:

  1. similarity based collaborative filtering module
  2. svd module

Still a lot of improvements, modifications and additions are pending.

It is available on pypi, use pip to install

$ pip install reco

Full documentation available here

Demo / Example

SVDRecommender

from reco.recommender import SVDRecommender
from reco.datasets import load_movielens


data = load_movielens()
svd = SVDRecommender(no_of_features=12)
user_item_matrix = svd.create_utility_matrix(data, formatizer={'user':'userId', 'item':'movieId', 'value':'rating'})
svd.fit(user_item_matrix)

test_users = [1, 65, 444, 321]

results = svd.recommend(test_users, N=4)
print(results)

About

a simple yet versatile recommendation systems library in python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%