This program recommends movies and TV shows based on a title of the user's choice. To run the program, follow the instructions below.
- Python 3.x
- Pandas
- Scikit-Learn
All required libraries and frameworks can be found at the top of movie_recommendations.py.
Clone the repository to your local machine using git clone https://github.com/RochanVanam/movie_recommender.git.
- Make sure you have all the requirements properly installed.
- Run
movie_recommendations.py. - The program uses 6 datasets, and combines the datasets into one dataset called
processed_data.csvafter preprocessing. If the combined dataset does not exist (the data is not preprocessed), it may take a minute until the next step. - The program will prompt you for a title to recommend movies/TV shows on. For your reference, a file called
titles.txtcontains all of the movie and TV show titles in the datasets. Enter a title. - The program will repeatedly prompt you until you want to stop. To stop the program, simply stop running it or exit the program.
The program uses 6 datasets amazonprime.csv, appletv.csv, disneyplus.csv, hbomax.csv, netflix.csv, and paramountplus.csv located in the data/ directory. These datasets contain information about movies and TV shows for their respective streaming platform. All datasets were created by Diego Enrique, and I obtained them on Kaggle. The links for the datasets are below.
Thank you!
Rochan V: