Skip to content

A collaborative filtering-based movie recommender system built using Python. Implements both user-user k-NN and matrix factorization techniques with evaluation metrics like RMSE for performance benchmarking.

License

Notifications You must be signed in to change notification settings

danish1804/recommender-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎯 Recommender System

This project implements a movie recommender system using collaborative filtering techniques. It includes both memory-based and model-based approaches, namely user-based k-Nearest Neighbors (k-NN) and Matrix Factorization using Stochastic Gradient Descent (SGD). The system reads user rating data from CSV files, predicts ratings, and generates personalized top-N recommendations.


🏷️ Badges

Python Machine Learning k-NN Matrix Factorization Evaluation License: MIT Interface Project Type


πŸ’‘ Key Features

  • πŸ“₯ Load user-item rating data from CSV files
  • πŸ“ˆ Predict unseen ratings using:
    • User-user collaborative filtering (k-NN + cosine similarity)
    • Matrix factorization (latent factor model)
  • 🧠 Generate personalized top-N recommendations
  • πŸ“Š Evaluate model accuracy using RMSE
  • 🧱 Modular and extendable Python codebase

πŸ“ Dataset Format

The system expects a CSV file with the following structure:

user_id item_id rating timestamp
1 101 4.0 874965758

Example datasets: MovieLens 100K, custom CSV files, etc.


πŸ§ͺ Evaluation

The system uses Root Mean Squared Error (RMSE) to evaluate the prediction performance on a test/validation split.


▢️ How to Run

  1. Clone the repository:
git clone https://github.com/your-username/recommender-system.git
cd recommender-system

πŸ“Œ To Use:

  • Save this as your README.md in your root folder.
  • Replace any placeholder GitHub link or path with your actual usernames and structure if needed.

About

A collaborative filtering-based movie recommender system built using Python. Implements both user-user k-NN and matrix factorization techniques with evaluation metrics like RMSE for performance benchmarking.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published