GeekHaven / GeektoberFest-AI

This repository contains the basic projects related to Data Sciences and AI.
2 stars 8 forks source link

Movie Recommender System : Generate Recommendations using Predicted SVD Ratings #39

Open TamoghnoBhattacharya opened 4 years ago

TamoghnoBhattacharya commented 4 years ago

Let's complete our collaborative-filtering model. Our model will consist of a function that accepts the user ID and number of recommendations to generate. All code should be within the function (except importing libraries). Follow the given procedure -

  1. Use the code created in issue #31, available under Movie Recommender System/IIT2019139/collaborative-filtering-svd.py to generate the predicted ratings matrix.
  2. Use the user ID to pick out the row containing predicted ratings for all movies. Obtain the movies with the top 10 predicted ratings. Be careful not to include already rated movies by that user.
  3. Return a dataframe consisting of 2 columns - the recommended movies and their predicted ratings.