Skip to content

PaulCristina/recommender-systems-matrix-factorization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

76168f0 · Jun 30, 2020

History

6 Commits
Jun 29, 2020
Jun 29, 2020
Jun 28, 2020
Jun 28, 2020
Jun 28, 2020
Jun 29, 2020
Jun 30, 2020
Jun 29, 2020
Jun 29, 2020
Jun 29, 2020
Jun 28, 2020
Jun 28, 2020

Repository files navigation

Recommender-systems with Rsparse

Collaborative filtering

The goal for this project is to produce recommendation using collaborative filtering (matrix factorization & cosine distance).

Project is made from three parts:

  1. cross-validation, wich contains the tunning grid needed for ALS and calculates the accuracy using NDCG

  2. making_reco, generates recommendation user based (ALS) and item based (cosine distance)

  3. api_reco_als, which will deliver ALS recommendation for a user using an API

The library used for recommendation is https://github.com/rexyai/rsparse fallowing this excellent post http://dsnotes.com/post/2017-05-28-matrix-factorization-for-recommender-systems/.

For the API the RestRserve library was used https://restrserve.org/articles/RestRserve.html.

The model runs extremly fast, it can generate recommendation in ~ 300 secs for 138286 users for ALS and in ~ 200 secs for 8546 movies using cosine distance.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages