Giter Site home page Giter Site logo

fangyi-deng / movie-recommendation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sauravsjk/movie-recommendation

0.0 0.0 0.0 107 KB

A DNN for recommending movies based on a user's history.

License: GNU General Public License v3.0

Shell 0.66% Python 99.34%

movie-recommendation's Introduction

Movie Recommendation System

A DNN for recommending movies based on the user's rating history.

Model

The model takes a user's rating history as the input and uses an autoencoder architecture to predict the user's rating for all movies in the data. The input is a list with size equal to the number of movies consisting of the user's previous ratings excluding one (0 for the Not-Rated and withheld movies). The output is also a list of the same size but could be either just the withheld rating or the complete rating history. The loss is calculated such that it only considers the ratings in the output of the example (y_true) and the corresponding predicted ratings (y_pred). The number and size of the layers in the model depend on the number of movies so that more similarities and differences between the movies can be learned by the model.

Prediction

As the requirement is not to predict the ratings but recommend movies to the user, the predicted ratings are used to generate a list for each user which recommends movies that the user may like.

Results

The model trained using the complete rating history output performed better compared to the one using the single withheld output with 10x smaller loss values. Both models converged to the least validation error in the 28th epoch. More details in Results.xlsx.

Output Format Train Validation Test
Full History 0.069 0.066 0.066
Single Withheld 0.607 0.738 0.739

Reference Paper

Movie Recommendations Using the Deep Learning Approach

movie-recommendation's People

Contributors

sauravsjk avatar

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.