Coder Social home page Coder Social logo

movierecommender's Introduction

Movie Recommender

Project Author

Notebooks

Executive Summary

I used Python to build item-based and user-based movie recommender systems using cosine similarity. In the Jupyter notebook I've created functions to run the recommendations based on user inputs.

Data

The data set contained 100.000 movie ratings, produced by 600 users. The data included 9.000 movie titles and is available at the GroupLens Research website.

Recommender

  1. Item-Based Recommender.

    I built this recommender calculating cosine similarity between movies. The similarity was calculated using two vectors that contained movie ratings.

  2. Item-Based and Genre Recommender:

I added a new layer to the recommender, first I will find movies with similar genres and then select the best rating similarities.

  1. User-Based Recommender:

Using two vectors with each person's scores for the 9.000 movies, I am able to calculate the cosine similarity between these two users. My friend Bernardo rated 65 movies, I've imported his ratings and found the 4 users that had the most similar cosine similarity. And then calculated the mean score for each movie considering their rating.

Evaluating Recommenders and Answering the problem:

I did not create an evaluation metric nor did build any statistics on its performance. I did manual explorations selecting multiple movies I've like and observed the results. In my blog, I've printed the recommendations for Iron Man 2(2010) and Inception (2010).

Improving the recommender:

  1. GroupLens has a bigger data set with more movies and user reviews, using this data would improve the cosine similarity recommenders.

  2. To improve the user-based recommender it would be nice to have more reviews from my friend.

  3. To evaluate the user-based recommender it's possible to separate the data into split and test in order to compare recommendations with actual scores from the user.

  4. Using more qualitative information about each film might improve the recommender, such as movie's decade, main actor, director, length, and movie cost.

Next Steps:

I will build an online dashboard where a person can select a movie and check out the recommendations.

movierecommender's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.