Skip to content

AnmolPatel20/NextFlix_Recommendation_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎬 NextFlix Movie Recommendation System

A movie recommendation web application inspired by Netflix that suggests movies using Association Rule Mining (Apriori Algorithm). The system analyzes relationships between movies and provides recommendations along with explanation metrics like Support, Confidence, and Lift.


🎥 Project Demo

Watch the short demo of the project below:

This video demonstrates the workflow of the website, how movie recommendations are generated, and how users can refresh to discover new suggestions.


🔗 Project Links


🚀 Project Overview

NextFlix is a web-based recommendation system where users can:

  • Get Top movie recommendations based on a selected movie.
  • Analyze the relationship between two movies.
  • Understand why a movie is recommended using Apriori rule metrics.

The system is built using:

  • Flask for backend
  • HTML + CSS for frontend
  • Python for recommendation logic
  • Apriori rules dataset for movie relationships

📷 Workflow Diagram

Workflow Diagram

🧠 Recommendation Logic

The system uses Association Rule Mining (Apriori Algorithm) to discover patterns in movie watching behavior.

Key metrics used:

Metric Meaning
Support Frequency of two movies appearing together
Confidence Likelihood that Movie2 is watched when Movie1 is watched
Lift Strength of association between movies

Example rule:

Movie1 → Movie2
Support: 0.02
Confidence: 0.45
Lift: 3.2

A higher Lift value indicates a stronger recommendation.


🏗 System Architecture

User Interface (HTML + CSS)
↓
Flask Backend (app.py)
↓
Recommendation Engine (recommender.py)
↓
Apriori Rules Dataset (movie_rules.csv)
↓
Recommendations / Relationship Analysis
↓
Rendered Results (index.html)

📁 Project Structure

NextFlix_Recommendation_System
│
├── app.py
├── requirements.txt
├── movie_rules.csv
├── netflix_data.csv
│
├── model
│   └── recommender.py
│
├── templates
│   └── index.html
│
├── static
│   ├── css
│   │   └── style.css
│   └── images
│
└── README.md

🌐 Deployment

The project is deployed using Render.

🖥 Features

✔ Movie recommendation based on association rules
✔ Relationship analysis between two movies
✔ Apriori rule metrics explanation
✔ Clean Flask web interface
✔ Lightweight dataset-based recommendation engine


🛠 Technologies Used

  • Python
  • Flask
  • Pandas
  • Apriori Algorithm
  • HTML
  • CSS
  • Git
  • Render (Deployment)

👨‍💻 Author

Anmol Patel

  • Data Science & Machine Learning Enthusiast
  • Python Developer

⭐ If you found this project useful, consider starring the repository!

About

NextFlix is a movie recommendation system that uses Apriori association rule mining to suggest movies and analyze relationships using support, confidence, and lift.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors