Downloads · 30 days
0
sujoy0011/Movie-Recommendation-System
Movie-Recommendation-System is a machine learning model from sujoy0011. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This project is a movie recommendation system built with Streamlit and powered by a machine learning model. It recommends movies based on a selected title using cosine similarity and displays movie posters fetched fro…
Downloads · 30 days
0
Access
Public
Updated Jul 29, 2024
Repo size
227 MB
Likes
0
Public
Click a slice to open those files.
.pkl187 MB · 80%
From the Hugging Face model README
This project is a movie recommendation system built with Streamlit and powered by a machine learning model. It recommends movies based on a selected title using cosine similarity and displays movie posters fetched from the TMDB API.
YouTube tutorial HERE
Dataset is HERE
Some files are not available on GitHub due to the large file size. you can get it HERE
The movie recommendation system helps users discover movies similar to their favorites. By selecting a movie from the list, users receive a list of top 10 recommended movies along with their posters. This project leverages machine learning techniques to analyze the features of movies and find similarities between them. It uses the TMDB API to fetch and display movie posters, enhancing the user experience by providing visual context for the recommendations. The system is built with Streamlit, providing an interactive and user-friendly interface for users to explore movie recommendations easily.
A recommendation system is a subclass of information filtering systems that seek to predict the rating or preference a user would give to an item. They are widely used in various applications like movie recommendations, product recommendations, and content recommendations.
Content-Based Filtering: This method recommends items similar to those a user liked in the past. It relies on the attributes of the items and a profile of the user's preferences.
Collaborative Filtering: This method recommends items based on the preferences of similar users. It doesn't require the attributes of the items and instead focuses on user-item interactions.
Hybrid Methods: These methods combine content-based and collaborative filtering to provide more accurate recommendations.
In this project, we use cosine similarity to measure the similarity between movie titles. Cosine similarity is a metric used to measure how similar two vectors are. It is calculated as the cosine of the angle between two vectors projected in a multi-dimensional space. For movie recommendation, the vectors represent movie features, and the similarity score indicates how alike two movies are.
Clone the repository:
git clone https://github.com/your-username/movie-recommendation-system.git
cd movie-recommendation-system
Install the required packages:
pip install -r requirements.txt
Run the Streamlit app:
streamlit run app.py
Open your web browser and go to http://localhost:8501.
Select a movie from the dropdown list and click "Recommend" to get the top 10 recommended movies along with their posters.
The dataset used for this project contains information about movies, including their titles and IDs. It is processed and stored in movie_data.pkl. The dataset is used to calculate the cosine similarity between movies.
The model for recommending movies is based on cosine similarity. Cosine similarity is used to measure the similarity between movie titles. The model computes the similarity scores and suggests the top 10 similar movies based on the selected movie title.
The system provides the top 10 recommended movies for any selected movie title. It also fetches and displays the posters of these recommended movies using the TMDB API.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.