Code Monkey home page Code Monkey logo

movierec's Introduction

Movie Recommendation System

This project is a movie recommendation system that scrapes movie from the web, and creates a ratings matrix based on user preferences and movie genres.

Getting Started

To get started with this project, follow these steps:

Clone the repository:

git clone https://github.com/AReyH/movierec.git

Install the required dependencies:

Navigate to the project directory:

cd movierec

Create a conda environment from the provided environment.yml file:

conda env create -f environment.yml

Activate the conda environment:

conda activate movierec

Run the main scripts to generate movie features and ratings matrix:

python scrape_movie_links.py
python scrape_movie_genres.py
python create_movie_features.py
python ratings_matrix.py

Project Structure

The project consists of the following main components:

  • scrape_movie_links.py: Scrapes movie links from a given URL and saves them to a JSON file.
  • scrape_movie_genres.py: Scrapes movie genres for a list of movie links and saves them to a JSON file.
  • create_movie_features.py: Creates a movie features DataFrame based on movie genres and saves it to a CSV file.
  • ratings_matrix.py: Generates a ratings matrix based on movie genres and user preferences and saves it to a CSV file.

Usage

Each script can be run independently with appropriate input data. Ensure that the required input files are available before running the scripts.

License

This project is licensed under the MIT License - see the license file file for details.

movierec's People

Contributors

areyh avatar

Watchers

 avatar

movierec's Issues

Minor ratings matrix fixes

If the user likes the genre of the movie they are watching, give it a chance to rate it a perfect score (5.0). If the user doesn't like the genre of the movie they are watching, give it a chance to rate it with a 0.0 score.

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.