An intelligent, content-based movie recommendation system built using Python and machine learning techniques.
This project simulates a personal AI movie curator. By analyzing plot descriptions of movies, it recommends titles that share narrative similarity with a given input movie using a content-based filtering approach.
The system relies on TF-IDF vectorization and cosine similarity to compare the storyline of movies and generate recommendations based purely on the content — not user ratings or behavior.
- Enter a movie title you like.
- The system analyzes its description and compares it with the rest of the dataset.
- It returns a list of similar movies based on content relevance.
No login, setup, or internet access required — just run and get personalized results.
- TF-IDF (Term Frequency–Inverse Document Frequency)
- Cosine Similarity for distance measurement between movies
- Pandas for data manipulation
- Scikit-learn for feature extraction and similarity computation
- Efficient and readable scripting
- Modular logic in a clean, functional format
movie.py: Main file with recommendation logicmovies.csv: Dataset containing movie titles and plot descriptions
-
Clone the repository:
git clone https://github.com/YernintiRevathi/Movie_recommendation.git cd Movie_recommendation -
Install dependencies:
pip install pandas scikit-learn
-
Run the script:
python movie.py
-
Input your favorite movie name when prompted and enjoy your curated list!
- Fast and lightweight — no need for deep learning or GPUs
- Easy to understand and extend
- Great for learning about content-based recommendation systems
This project is open-source and available under the MIT License.
Built with 🎥 and 💻 by Revathi Yerninti