How aayush-0409/movie-recommender-system works
This is a Streamlit movie-discovery app backed by a FastAPI service. A user browses a category feed or searches for a title, opens its details, and explores TF-IDF and genre recommendations. The backend combines precomputed local recommendation data with live TMDB metadata. The README documents the notebook-to-artifacts training path and additional API capabilities; unsampled implementation details are represented only where that documentation supports them.
Main entry points: main.py Recommendation bundle · app.py Streamlit UI · Movie_Recommender_System.ipynb Model preparation · df.pkl Prepared model data
Components 14
Movie interface
- Streamlit UI
app.py
API workflows
- Home feed
main.py - Keyword search
main.py - Movie details
main.py - Recommendation bundle
main.py - Genre recommendations
main.py
Recommendation data
- TF-IDF ranking
main.py - Prepared model data
df.pkl - Title index
indices.pkl - Fitted vectorizer
tfidf.pkl - TF-IDF matrix
tfidf_matrix.pkl - Model preparation
Movie_Recommender_System.ipynb
External movie data
- TMDB API
Other components
- Movie browser
Connections 23
- Movie browser → Streamlit UI: browses
README.md - Streamlit UI → Home feed: requests feed
app.py - Streamlit UI → Keyword search: requests matches
app.py - Streamlit UI → Movie details: requests details
app.py - Streamlit UI → Recommendation bundle: requests recommendations
app.py - Home feed → TMDB API: fetches feed
main.py - Keyword search → TMDB API: searches titles
main.py - Movie details → TMDB API: fetches details
main.py - Recommendation bundle → Keyword search: finds title
main.py - Recommendation bundle → Movie details: fetches details
main.py - Recommendation bundle → TF-IDF ranking: gets similar titles
main.py - Recommendation bundle → Genre recommendations: gets genre matches
main.py - Genre recommendations → Movie details: reads genres
main.py - Genre recommendations → TMDB API: discovers titles
README.md - TF-IDF ranking → Title index: looks up title
README.md - TF-IDF ranking → Prepared model data: ranks titles
README.md - TF-IDF ranking → Fitted vectorizer: uses model
README.md - TF-IDF ranking → TF-IDF matrix: computes similarity
README.md - Recommendation bundle → TMDB API: enriches matches
main.py - Model preparation → Prepared model data: exports metadata
README.md - Model preparation → Title index: exports lookup
README.md - Model preparation → Fitted vectorizer: exports model
README.md - Model preparation → TF-IDF matrix: exports matrix
README.md