Skip to content

A simple Collaborative Filtering Recommendation System πŸ“½οΈπŸŽ΅ built with Python. It suggests movies and music based on user preferences using similarity-based recommendations. πŸš€

Notifications You must be signed in to change notification settings

Jyotshna25/Simple-Collaborative-Filtering-Recommendation-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🎬🎡 Simple Collaborative Filtering Recommendation System

A Python-based recommendation system that suggests movies πŸŽ₯ and music 🎢 to users based on their shared preferences with other users.

πŸš€ Features

βœ… User-Based Collaborative Filtering – Finds similar users based on shared ratings πŸ‘«
βœ… Personalized Recommendations – Suggests movies & music users haven't watched/listened to yet 🎧🎞️
βœ… Dynamic & Expandable – Easily add more users and ratings for better recommendations πŸ“ˆ
βœ… Simple & Lightweight – No external libraries, just pure Python 🐍

πŸ“Œ How It Works

  1. User Ratings Dataset 🎭
    • Each user rates movies and songs on a scale of 1-5.
  2. Finding Similar Users 🀝
    • Compares a target user’s ratings with others to find similar tastes.
  3. Making Recommendations πŸ†
    • Suggests items that similar users liked but the target user hasn't experienced yet.
  4. Sorting by Interest Score πŸ”’
    • Recommendations are ranked based on the total ratings from similar users.

πŸ› οΈ Code Overview

# Create an instance of the recommender system
collab_recommender = CollaborativeFilteringRecommender()

# Get recommendations for Alice
recommendations = collab_recommender.recommend_items("Alice")

# Display recommendations
for title, score in recommendations:
    print(f"{title} | Estimated Interest Score: {score}")

🏷️ Example Users & Ratings

User Movies & Songs Rated 🎢🎬
Alice Inception (5), Interstellar (4), Bohemian Rhapsody (2)
Bob The Dark Knight (5), Imagine (3), Inception (4)
Charlie Avengers: Endgame (4), Hotel California (3)
David The Matrix (5), Billie Jean (5)
Emma Bohemian Rhapsody (5), Shape of You (4)

πŸ“’ Future Enhancements

πŸ”Ή Use cosine similarity for better user comparison πŸ“Š
πŸ”Ή Integrate a database for dynamic user ratings πŸ’Ύ
πŸ”Ή Implement a graphical user interface (GUI) for easy use 🎨
πŸ”Ή Support real-world datasets from platforms like IMDb & Spotify 🌍


🎯 Get Started

πŸ”Ή Clone the repository
πŸ”Ή Run the Python script
πŸ”Ή Get personalized recommendations in seconds! πŸš€


πŸ‘¨β€πŸ’» Developed as part of CodSoft Internship – Task 4 πŸŽ“
Feel free to contribute & improve the system! πŸ’‘

About

A simple Collaborative Filtering Recommendation System πŸ“½οΈπŸŽ΅ built with Python. It suggests movies and music based on user preferences using similarity-based recommendations. πŸš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages