๐ 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 |
|---|---|
๐ 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
- css
- flask
- github
- html
- javascript
- jupyter-notebook
- numpy
- pandas
- pickle
- python
- resnet50
- scikit-learn
- spotify
- tensorflow
- tmdb-api
- vscode
Log in or sign up for Devpost to join the conversation.