Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.13.0
metadata
title: NCF Movie Recommender
emoji: π¬
colorFrom: purple
colorTo: blue
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: mit
π¬ NCF Movie Recommender
A Neural Collaborative Filtering (NCF) movie recommendation demo trained on the MovieLens 1M dataset.
How It Works
- Rate some movies you've already watched (1-5 stars)
- Click "Get Recommendations" to find your next favorite film
- The model finds users with similar tastes and predicts what you'll enjoy
Model Details
- Architecture: Neural Collaborative Filtering (NCF)
- Training Data: MovieLens 1M (1 million ratings from 6,040 users on 3,900 movies)
- User Embeddings: 6,041 Γ 128
- Item Embeddings: 3,953 Γ 128
- MLP Layers: 256 β 128 β 64 β 1
Performance Metrics
- HR@10: 0.132 (Hit Rate at 10)
- NDCG@10: 0.091 (Normalized Discounted Cumulative Gain)
Citation
If you use the MovieLens dataset, please cite:
F. Maxwell Harper and Joseph A. Konstan. 2015. The MovieLens Datasets: History and Context. ACM Transactions on Interactive Intelligent Systems (TiiS) 5, 4, Article 19 (December 2015), 19 pages. DOI: http://dx.doi.org/10.1145/2827872
Files
βββ app.py # Main Gradio application
βββ requirements.txt # Python dependencies
βββ data/
β βββ model.pt # Trained NCF model weights
β βββ movies.dat # Movie metadata
β βββ ratings.dat # User-movie ratings
β βββ users.dat # User demographics