Git Product home page Git Product logo

upasanadhameliya / django-movie-recommendor Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 5.0 64.29 MB

Movie Website built on python Django framework; Uses Content Based Predictive Model approach to predict similar movies based on the contents/genres similarities

Python 64.70% CSS 25.06% HTML 10.24%
django django-project python3 content-filtering movielens movielens-dataset movie-recommendation machine-learning django3 content-based-recommendation

django-movie-recommendor's Introduction

Django-Movie-Recommendor (Machine Learning)

Movie Website built on python Django framework. Uses Content Based Predictive Model approach to predict similar movies based on the contents/genres similarities. Check out how the website looks on this Link

  • Libraries used: pandas, numpy, sklearn, imdbpy, pickle
  • Python-Django Version: 3.6
  • Database: Postgresql

The dataset used for training the model can be downloaded from this link: https://grouplens.org/datasets/movielens/1m/ The model uses batch learning mechanism in contrast to online learning.

Hence, the dataset will have to be downloaded and the model would have to be trained just once as it would not be updating dynamically. In case you need to update the movie dataset, the model would have to be retrained after updating the dataset.

Run and deploy
  1. Clone and download the repository
  2. (Do this just once!) Uncomment the three functions in the top level urls.py : imdbscript.get_movies() , content_script.get_movies(), model_creation.create()
    • This is only to get the data in the database from the imdb api and to train your model to predict movies.
    • It might take a few hours: approx 6hrs.
    • Comment the functions once again as soon as the website is up else you might get stuck with duplicate entries.

After following the above steps, you would have the website up and running.

django-movie-recommendor's People

Contributors

upasanadhameliya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.