Oprishri / Recommendation-system-based-on-Nonnegative-Matrix-Factorization

To recommend the movies that user might want to watch by using collaborative filtering system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recommendation-System-based-on-Nonnegative-Matrix-Factorization

Project Partner:

Goal:

To recommend the movies that user might want to watch.

Recommender systems

  • Recommender systems aim to predict users’ interests and recommend product items that quite likely are interesting for them. They are among the most powerful machine learning systems that online retailers implement in order to drive sales.

netflix

- Data required for recommender systems stems from explicit user ratings after watching a movie or listening to a song, from implicit search engine queries and purchase histories, or from other knowledge about the users/items themselves. Examples of Recommendation systems are Netflix or YouTube that suggest playlists or make video recommendations

Types of recommender systems:

  • Content-based systems, which use characteristic information.

  • Collaborative filtering systems, which are based on user-item interactions.

  • Hybrid systems, which combine both types of information with the aim of avoiding problems that are generated when working with just one kind.

Dataset

link(https://grouplens.org/datasets/movielens/) Movie lens Dataset consists of :b100000 ratings (1 lakh) , 600 users

Matrix factorization

netflix

Where,

  • R (users,movies)
  • U (users,d)
  • VT (d,movies) Here, d is the number of latent features.

Cost Function

netflix

netflix

Prediction of rating of movies using gradient descent algorithm.

Gradient descent

Gradient descent is a first-order iterative optimization algorithm for finding a local minimum of a differentiable function. To find a local minimum of a function using gradient descent, we take steps proportional to the negative of the gradient (or approximate gradient) of the function at the current point.

Optimization techniques used in Gradient descent

  • Regularized Gradient descent

netflix

  • Sliding Window Gradient descent

netflix

  • Line Search Gradient descent

netflix

  • Particle Swarm Optimization(PSO) Gradient descent

Results :

Root Mean Square Error (RMSE)

netflix

Movies Recommendations:

Conclusion

  • In this project, we are trying to find the movies that we can recommend to user as per their interest. By using Matrix Factorization and some of the variate of Gradient Descent we able to do so.
  • In our project Swarm optimization works so well that it minimises the error to 0.87.

About

To recommend the movies that user might want to watch by using collaborative filtering system.


Languages

Language:Jupyter Notebook 100.0%