How subrat1920/book-recommendation-system works
Project type and purpose
• This is a full-stack Python application—a Book Recommendation System—with two main subsystems:
• A Streamlit-based web UI (st_app.py)
• A modular recommendation backend (recommend/…)
• It implements two ML strategies (popularity-based & collaborative filtering) and persists data in SQLite.
File structure
• Top-level scripts:
• st_app.py – Streamlit entry point for the web UI
• main.py – CLI or orchestration script for running pipelines
• Core package: recommend/
• components/
– data_ingestion.py
– data_transformation/ (cb_filtering.py, popularity_based.py)
– data_validation.py
• constants/ – central configuration values
• exception/ – custom exception hierarchy
• logging/ – application-wide logging setup
• utils/ – helper functions
• Artifacts/ – contains runtime SQLite databases for each stage:
• data_ingestion/*.db
• data_transformation/*/*.db
• data_validation/report.txt
• Notebooks/ – exploratory Data Science work & raw CSV datasets
Extract architectural insights from the README
• Three logical phases: Data Collection & Processing → Model Development → Web Application
• Emphasis on modularity, scalability, maintainability
• Hybrid recommendation approach (popularity + collaborative)