lorenanda / movie-recommender

Movie recommender system based on Non-Negative Matrix Factorization and Singular Value Decomposition, with a Flask web interface

Home Page:https://lorenaciutacu.com/bootcamp10/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Movie Recommender System

Project 9 for the Data Science Bootcamp at SPICED Academy Berlin, by Lorena Ciutacu (https://github.com/lorenanda) and Daniela Morariu (https://github.com/DanielaMorariu1990).

Description

The days of endless indecissive scrolling are over! We created a recommender system with a web interface that recommends you new movies based on your preferences. You only need to rate up to 15 movies and specify your preference for old vs. new movies, then you get a list of 5 movies along with their plot summary and trailer. We built this with:

  • Python
  • pandas, scikit-learn (NMF), surprise (SVD)
  • HTML, CSS, Flask
  • TMBD API

How to use

In a terminal:

  1. Clone this repo: git clone https://github.com/lorenanda/movie-recommender.git
  2. Install the necessary libraries: pip install -r requirements.txt
  3. Change the directory to the main application cd flask_app
  4. Get your API key from TMDB and write it in config.py
  5. Run these three commands:
    • export FLASK_APP=application.py
    • export FLASK_DEBUG=1
    • flask run
  6. Open the listed localhost http://127.0.0.1:5000/ in a browser.
  7. Grab some popcorn, lean back, and enjoy a recommended movie!

The project was tested on Chrome and Firefox!

About

Movie recommender system based on Non-Negative Matrix Factorization and Singular Value Decomposition, with a Flask web interface

https://lorenaciutacu.com/bootcamp10/

License:MIT License


Languages

Language:Python 72.5%Language:HTML 20.5%Language:CSS 7.0%