This is a Movie Recommendation System built using Streamlit, which recommends movies based on the similarity to a selected movie. The system provides the top 5 recommendations along with their posters.
- Movie Selection: Select a movie from a dropdown list.
- Recommendations: Get the top 5 recommended movies based on similarity.
- Poster Display: View the posters of the recommended movies.
-
Clone the Repository:
git clone https://github.com/TonyBhaskar/Recommendation-System.git cd Recommendation-system
-
Install Dependencies: Ensure you have Python installed, then install the required packages:
pip install streamlit pandas requests
-
Download Required Files:
- Ensure you have the
movies.pkl
andsimilarity.pkl.gz
files in the root directory.
- Ensure you have the
-
Run the Application:
streamlit run app.py
-
Select a Movie:
- Use the dropdown to select a movie.
-
Get Recommendations:
- Click the "Recommend" button to see the top 5 movie recommendations along with their posters.
- app.py: Main application script for the Streamlit app.
- movies.pkl: Pickle file containing the list of movies.
- similarity.pkl.gz: Gzipped pickle file containing the similarity matrix.
- Main.ipynb: Jupyter notebook file, presumably used for data preprocessing or model building.
- streamlit: For building the interactive web application.
- pandas: For handling movie data.
- requests: For fetching movie posters from the TMDB API.
- gzip: For decompressing the similarity matrix file.
- pickle: For loading serialized data.
- The Movie Database (TMDB): Used to fetch movie posters.
Contributions are welcome! Feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.