Skip to content

A beginner-friendly Movie Recommendation System built using Collaborative Filtering and Google Colab. It suggests similar movies based on user ratings from the MovieLens dataset.

Notifications You must be signed in to change notification settings

urvashi-agrawal-dev/Movie-recommendation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🎬 Movie Recommendation System using Collaborative Filtering

This project is a beginner-friendly Movie Recommendation System built using Python, pandas, and Google Colab. It uses Item-Based Collaborative Filtering to suggest movies similar to the ones a user already likes β€” just like Netflix or Amazon!


πŸ“Œ Project Highlights

  • βœ… Simple and easy to understand β€” made for beginners
  • βœ… Uses the popular MovieLens 100k dataset
  • βœ… Built entirely in Google Colab
  • βœ… No machine learning experience required
  • βœ… Optional Streamlit web app version

πŸš€ How It Works

The system finds movies that are most similar in user rating patterns to a movie you choose.

It follows these steps:

  1. Load and merge the dataset
  2. Create a user-movie rating matrix
  3. Use Pearson correlation to find similar movies
  4. Filter out movies with low rating counts
  5. Return top 10 most similar movie recommendations

🧠 Techniques Used

  • Collaborative Filtering (Item-Based)
  • Pivot Tables with pandas
  • Correlation (Pearson) for similarity
  • Filtering for reliability
  • (Optional) streamlit for simple UI

πŸ—‚οΈ Files Included

  • movie_recommendation.ipynb – Google Colab notebook with full code and explanations
  • u.data, u.item – MovieLens dataset files (downloaded manually)
  • app.py (optional) – Streamlit web app (if implemented)
  • README.md – Project description

πŸ“₯ Dataset Info

We use the MovieLens 100k dataset:

  • 100,000 ratings
  • 943 users
  • 1,682 movies

πŸ”— Download MovieLens 100k Dataset


πŸ“Έ Sample Output

Example: Recommendations for "Star Wars (1977)"


βš™οΈ How to Run

Option 1: Run in Google Colab (No setup needed)

  1. Open the .ipynb notebook
  2. Upload u.data and u.item files
  3. Run the cells one by one

Option 2: Run Locally

  1. Clone this repo
  2. Install dependencies:

About

A beginner-friendly Movie Recommendation System built using Collaborative Filtering and Google Colab. It suggests similar movies based on user ratings from the MovieLens dataset.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published