How inboxpraveen/movie-recommendation-system works
This is a Django movie-discovery application backed by precomputed content-similarity artifacts. The main user flow is search or autocomplete, resolve a title, fetch similar movies, and render metadata-rich results; health and model-status endpoints support the same serving layer. An optional training pipeline builds artifacts for larger or custom catalogs, and a standalone inference engine exposes recommendation functionality. The graph follows documented behavior and shown excerpts; several implementation details and integrations are unsampled, so uncertain links are omitted.
Main entry points: views.py Web and API views · train.py Training pipeline · movie_recommendation/urls.py URL routing · recommender/urls.py App endpoints
Components 20
Web application
- URL routing
movie_recommendation/urls.py - App endpoints
recommender/urls.py - Web and API views
recommender/views.py - Autocomplete cache
movie_recommendation/settings.py - Search and results UI
recommender/templates/recommender
Recommendation serving
- Model loading
recommender/views.py - Web recommender
recommender/views.py - Title matching
recommender/views.py - Recommendations and metadata
recommender/views.py - Health and status
recommender/views.py
Model preparation
- Training pipeline
training/train.py - Feature preparation
training/train.py - Similarity neighbors
training/train.py - Inference engine
training/infer.py
Catalog and integrations
- Model artifacts
training/train.py - Demo model files
demo_model
Other components
- Movie seeker
- Movie catalog user
- Google and IMDb
- TMDB image host
Connections 20
- Movie seeker → URL routing: requests pages
README.md - URL routing → App endpoints: includes routes
movie_recommendation/urls.py - App endpoints → Web and API views: dispatches endpoints
recommender/urls.py - Web and API views → Search and results UI: renders pages
recommender/views.py - Web and API views → Model loading: gets model
recommender/views.py - Model loading → Demo model files: loads model files
README.md - Model loading → Web recommender: initializes
recommender/views.py - Web and API views → Title matching: searches titles
recommender/views.py - Web and API views → Recommendations and metadata: requests recommendations
recommender/views.py - Web recommender → Title matching: matches titles
recommender/views.py - Web recommender → Recommendations and metadata: builds results
recommender/views.py - Web and API views → Autocomplete cache: caches autocomplete
movie_recommendation/settings.py - Web and API views → Health and status: serves status
recommender/urls.py - Movie catalog user → Training pipeline: supplies dataset
README.md - Training pipeline → Feature preparation: prepares features
training/train.py - Training pipeline → Similarity neighbors: computes neighbors
training/train.py - Training pipeline → Model artifacts: writes artifacts
training/train.py - Inference engine → Demo model files: loads model artifacts
training/infer.py - Recommendations and metadata → TMDB image host: links posters
recommender/views.py - Search and results UI → Google and IMDb: offers movie links
README.md