ProductionAWS EC2DeployedFastAPIBackendCosineSimilarityDockerCompose
🔴 The Problem
▸
Simple genre-based filters produce poor personalisation
▸
Most tutorial recommendation engines never run in a real environment
✅ The Solution
▸
Cosine-similarity on TF-IDF feature vectors served via FastAPI for sub-50ms responses
▸
Docker Compose bundles FastAPI backend, Streamlit frontend, and PostgreSQL in one command
📈 Impact & Results
▸
Live on AWS EC2 — publicly accessible demo
▸
Recommendations return in under 50ms at the API layer
▸
Pre-processed similarity matrix loaded at startup eliminates per-request compute
Full Tech Stack
PythonFlaskMachine LearningCollaborative FilteringCosine SimilarityStreamlitAWS EC2AWS S3
More Projects
Interested in working together?
Let's build something impactful.