GithubHelp home page GithubHelp logo

niladrridas / hybrid-movie-recommendation-system Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 282 KB

A movie recommendation system that suggests films you might like based on what similar users enjoy and the details of the movies.

License: MIT License

Jupyter Notebook 100.00%

hybrid-movie-recommendation-system's Introduction

Hybrid Movie Recommendation System

A comprehensive movie recommendation system using collaborative filtering (SVD) and content-based filtering (TF-IDF). Provides personalized recommendations based on user preferences and item descriptions.

Features

  • Collaborative Filtering using Singular Value Decomposition (SVD)
  • Content-Based Filtering using TF-IDF vectorization and cosine similarity
  • Hybrid Recommendations combining both collaborative and content-based approaches
  • User-Friendly Outputs with real user names and movie titles

Technologies Used

  • Python
  • Pandas
  • NumPy
  • scikit-learn
  • scikit-surprise
  • Jupyter Notebook
  • VSCode

Setup and Installation

  1. Clone the repository:

    git clone https://github.com/niladrridas/movieml.git
    cd movieml
    
  2. Create a virtual environment (optional but recommended):

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
    
  3. Install the required libraries:

    pip install -r requirements.txt
    

Usage

  1. Run Jupyter Notebook:

    jupyter notebook
    
  2. Open the notebook:

    • Navigate to main_py.ipynb and open it.
  3. Follow the steps in the notebook to:

    • Load and preprocess the data
    • Train the collaborative filtering model using SVD
    • Generate content-based recommendations
    • Combine both methods in a hybrid recommendation system
    • Evaluate the models

Project Structure

  • main_py.ipynb: Jupyter Notebook containing the code and explanations
  • data/: Directory to store datasets (users, movies, ratings)
  • requirements.txt: List of required Python packages

Example Outputs

  1. Data Loading and Preprocessing:

    Users Data Movies Data Ratings Data

  2. Collaborative Filtering with SVD:

    Collaborative Filtering

  3. Content-Based Filtering:

    Content-Based Filtering

  4. Hybrid Recommendation:

    Hybrid Recommendation

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Instructions to Push Repository to GitHub Using VSCode

  1. Initialize Git in Your Project Directory:

    • Open your project folder in VSCode.
    • Open the terminal in VSCode (View > Terminal).
    • Initialize a new Git repository:
    git init
    
  2. Add All Files to the Repository:

    git add .
    
  3. Commit the Changes:

    git commit -m "Initial commit"
    
  4. Create a New Repository on GitHub:

    • Go to GitHub and create a new repository. Do not initialize it with a README, .gitignore, or license (since you already have these in your local repository).
  5. Add the Remote Repository URL:

    • Copy the URL of the newly created GitHub repository.
    • Add it as a remote in your local Git repository:
    git remote add origin https://github.com/niladrridas/movieml.git
    
  6. Push the Local Repository to GitHub:

    git push -u origin master
    

hybrid-movie-recommendation-system's People

Contributors

niladrridas avatar

Watchers

 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.