๐Ÿš€ Recommendation System

A Multi-Domain Intelligent Recommendation Web App


๐ŸŽฏ Overview

This project is a fully functional Recommendation System built using Flask, Machine Learning, and APIs.
It provides personalized suggestions for:

  • ๐Ÿ“š Books
  • ๐ŸŽฌ Movies
  • ๐ŸŽง Music
  • ๐Ÿ‘— Fashion Items

โœจ Features

  • ๐Ÿ” Personalized smart recommendations
  • ๐ŸŽž๏ธ Movie details with posters & ratings via TMDB
  • ๐ŸŽถ Spotify-powered content similarity
  • ๐ŸŽจ Deep learning-based Fashion similarity search
  • ๐Ÿง  Machine learning + Deep learning hybrid models
  • โ˜ Google Drive auto-download support for large files

๐Ÿง  Tech Stack

Category Technology
Backend Framework Flask
Machine Learning Scikit-Learn, TensorFlow
Feature Extraction ResNet50
APIs Spotify API, TMDB API
Storage Pickle Models, Google Drive
Frontend HTML, CSS, JavaScript, Bootstrap

๐Ÿ“ Project Structure

๐Ÿ“ฆ Recommendation-System
โ”œโ”€โ”€ Book Recommendation
โ”‚   โ”œโ”€โ”€ books.pkl
โ”‚   โ”œโ”€โ”€ similarity.pkl
โ”‚   โ””โ”€โ”€ app.py
โ”œโ”€โ”€ Movie Recommendation
โ”‚   โ”œโ”€โ”€ movies.pkl
โ”‚   โ”œโ”€โ”€ similarity.pkl
โ”‚   โ””โ”€โ”€ app.py
โ”œโ”€โ”€ Music Recommendation
โ”‚   โ”œโ”€โ”€ spotify_model.pkl
โ”‚   โ”œโ”€โ”€ data.csv
โ”‚   โ””โ”€โ”€ app.py
โ”œโ”€โ”€ Fashion Recommendation
โ”‚   โ”œโ”€โ”€ images/
โ”‚   โ”œโ”€โ”€ embeddings.pkl
โ”‚   โ””โ”€โ”€ app.py
โ”œโ”€โ”€ static/  (CSS/JS/Images)
โ”œโ”€โ”€ templates/ (HTML Files)
โ”œโ”€โ”€ requirements.txt
โ””โ”€โ”€ README.md

๐Ÿ“ฆ Dataset & Model Access (Google Drive Support)

Since model files are large, they are stored in Google Drive and downloaded automatically when needed.

๐Ÿ”ฝ Automatic Download Script

import gdown, os, pickle

os.makedirs("models", exist_ok=True)

files = {
    "books.pkl": "https://drive.google.com/uc?id=FILE_ID_1",
    "similarity.pkl": "https://drive.google.com/uc?id=FILE_ID_2",
    "movies.pkl": "https://drive.google.com/uc?id=FILE_ID_3",
    "spotify_model.pkl": "https://drive.google.com/uc?id=FILE_ID_4",
    "fashion_embeddings.pkl": "https://drive.google.com/uc?id=FILE_ID_5"
}

for filename, url in files.items():
    save_path = f"models/{filename}"
    if not os.path.exists(save_path):
        print(f"๐Ÿ“ฅ Downloading {filename}...")
        gdown.download(url, save_path, quiet=False)

print("โœ… All required model files are ready!")

File Name Type Purpose
books.pkl Pickle Book model
similarity.pkl Pickle Book similarity matrix
movies.pkl Pickle Movie features
spotify_model.pkl Pickle Music recommendation model
fashion_embeddings.pkl Pickle Deep learning embeddings

๐Ÿ“ฅ Download Dataset & Model Files

Since some files are large (datasets + pickle models), you can download them from Google Drive:

๐Ÿ”— Google Drive Link: ๐Ÿ‘‰ https://drive.google.com/drive/folders/1LLuPREHLQQcBGEInTY60GMmszdNY7V7u?usp=drive_link

After downloading, place the files in the project root directory as shown in structure above.


๐Ÿงช Create a Virtual Environment

โ–ถ Windows

python -m venv venv
venv\Scripts\activate

โ–ถ macOS / Linux

python3 -m venv venv
source venv/bin/activate

๐Ÿ› ๏ธ Installation & Setup

# Clone repository
git clone https://github.com/CARLOX62/Recommendation-Systems.git
cd Recommendation-System

# Install dependencies
pip install -r requirements.txt

# Run app
python app.py

๐Ÿงช Create a Virtual Environment

โ–ถ Windows

python -m venv venv
venv\Scripts\activate

โ–ถ macOS / Linux

python3 -m venv venv
source venv/bin/activate

๐ŸŽฅ Live UI Preview

Home Page Recommendation Output
Screenshot (367) Screenshot (368)

Screenshot (369) Screenshot (370) Screenshot (371)


๐Ÿš€ Future Enhancements

  • User login system
  • Personalized user history tracking
  • Cloud-based model hosting
  • Voice-based recommendation search

๐Ÿ‘จโ€๐Ÿ’ป Author

๐Ÿ‘‹ Aniket Kumar
Machine Learning Engineer | Python Developer | AI Enthusiast

๐Ÿ“Œ India ๐Ÿ‡ฎ๐Ÿ‡ณ
๐Ÿ“ซ Email: [email protected]

๐ŸŒ Connect With Me


โญ Support

If you find this project useful, please consider starring โญ the repo โ€” it helps others find it!


๐Ÿ“ License

This project is licensed under the MIT License.

Built With

Share this project:

Updates