This project demonstrates the use of basic algorithms in movie recommendation systems.
Python 3.9.13
Run the following commands on command prompt terminal
(after python is installed)
Make sure to enter into the movie-recommender-master directory on command prompt(using cd) for the following steps
- Creating and entering into virtual environment
pip install virtualenv
python -m virtualenv myvenv
myvenv\Scripts\activate.bat
- Installing streamlit
pip install streamlit
IMP: close the text editor and open it again (for streamlit installation to be effective)
- Execution
On a new cmd terminal runstreamlit run app.py
- A movie is typed into the input box as shown in the output screenshot.
- On clicking Show Recommendation button, the selected movie and other suggested movies are displayed.
- Even if the typed movie does not exist/not in database, top matched movies are displayed
- Similarity index between movies is calculated (using KNN algorithm) based on cast, genre, director and keyword fields from the dataset
- KNN algorithm
- Quick sort algorithm
- Search algorithm
- Python 3 for algorithms backend
- Streamlit for frontend
- trialdb- movie dataset containing various fields such as Title, genre, cast, release date etc.
- posterdb- dataset containing movies titles and their poster image urls