Skip to content

This is a Movie Recommendation Project which recommend the related movie based on your watch history, it uses the Cosine-Similarity concept along with the NLP techniques to recommend the next related movie.

License

Notifications You must be signed in to change notification settings

SINGHxTUSHAR/CineMatch

Repository files navigation

GitHub license GitHub contributors GitHub issues GitHub pull-requests PRs Welcome

GitHub watchers GitHub forks GitHub stars

Open in Visual Studio Code

CineMatch 🎥:

img_1

Imagine a system that suggests movies you'd love, like magic. This movie recommendation system uses a combination of clever math and language understanding. First, it gathers details about movies, like descriptions, genres, and ratings. Then, it employs Natural Language Processing (NLP) techniques to clean up the descriptions, focusing on the important words that truly describe the movie's content. NLP also helps the system understand synonyms and different ways of expressing the same idea.

Next, the system gets to know you. It might ask for your movie ratings or preferences for genres or actors. This information is also converted into a special code, much like the movie descriptions. Here's where the magic happens – a mathematical concept called cosine similarity helps the system compare your code with the movie codes. The closer the match, the more similar the movie's content is to your taste. Finally, the system recommends movies with the closest matches, ensuring you have a fantastic cinematic experience tailored just for you.

Work-Flow ⚔️:

Data Preparation:

  • Movie Data Collection: The system gathers information about movies, including titles, descriptions, cast, crew, genres, and ratings.

  • NLP Preprocessing: NLP techniques come into play here. Text descriptions might undergo cleaning, stemming (reducing words to their root form), and removing stop words (common words like "the" or "a").

  • Vectorization: Each movie is converted into a mathematical vector using techniques like TF-IDF (Term Frequency-Inverse Document Frequency). This vector represents the movie's content based on the importance of each word in the description.

Cosine Similarity for Recommendation:

  • User Interaction: The user might provide ratings for movies they've seen or express preferences for genres or actors. This user data is also converted into a vector.

  • Similarity Calculation: Cosine similarity is applied between the user's vector and the movie vectors. This calculates how similar each movie's content is to the user's preferences.

  • Recommendation Generation: Movies with the highest cosine similarity scores are considered the most similar to the user's taste and are recommended.

Overall, this system leverages cosine similarity to find movies with content most relevant to a user's preferences, informed by the power of NLP to analyze movie descriptions and user input.

Requirements💻 :

Ensure you have the following dependencies installed:

  • Python (version 3.12.x)
  • IDE: VS-CODE or collab
  • Virtual-environment
  • Other dependencies (refer to the requirement.txt)

You can install the required Python packages using:

pip install -r requirements.txt

Setup 💿:

  • Clone the repository:
git clone https://github.com/SINGHxTUSHAR/CineMatch.git
cd CineMatch
  • Create a virtual environment (optional but recommended):
python -m venv venv
  • Activate the virtual environment:
    • On Windows:
    venv\Scripts\activate
    • On macOS/Linux:
    source venv/bin/activate

Contributing 📌:

If you'd like to contribute to this project, please follow the standard GitHub fork and pull request process. Contributions, issues, and feature requests are welcome!

Suggestion 🚀:

If you have any suggestions for me related to this project, feel free to contact me at tusharsinghrawat.delhi@gmail.com or LinkedIn.

License 📝:

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

About

This is a Movie Recommendation Project which recommend the related movie based on your watch history, it uses the Cosine-Similarity concept along with the NLP techniques to recommend the next related movie.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages