How rajnityanand/dukaan-ai works
DukaanAI is an early-stage retail intelligence project: its documented workflow runs from auditing and preparing inventory data through analysis, feature engineering, baseline modeling, evaluation, and eventual dashboard presentation. The Streamlit app is currently an overview prototype; forecasting, segmentation, inventory insights, and the ML Lab are documented as planned areas, not implemented pages. The reusable pipeline modules are present but empty in the supplied excerpts, so their runtime connections cannot be verified. Edges below reflect README-documented workflow only.
Main entry points: app.py Overview prototype · evaluate.py Model evaluation · 01_data_audit.ipynb Data audit · 02_data_cleaning.ipynb Data cleaning
Components 13
Data workflow
- Data audit
notebooks/01_data_audit.ipynb - Data cleaning
notebooks/02_data_cleaning.ipynb - Exploratory analysis
notebooks/03_eda.ipynb
Modeling
- Feature engineering
src/dukaanai/features/build_features.py - Baseline training
src/dukaanai/models/train.py - Prediction
src/dukaanai/models/predict.py - Model evaluation
src/dukaanai/models/evaluate.py
Dashboard and insights
- Overview prototype
app/app.py - Demand forecasting
app/app.py - Product segmentation
app/app.py - Inventory insights
app/app.py - ML Lab
app/app.py
Other components
- Project user
Connections 14
- Project user → Data audit: audits data
README.md - Data audit → Data cleaning: precedes cleaning
README.md - Data cleaning → Exploratory analysis: precedes analysis
README.md - Exploratory analysis → Feature engineering: precedes engineering
README.md - Feature engineering → Baseline training: precedes modeling
README.md - Baseline training → Model evaluation: precedes evaluation
README.md - Model evaluation → Overview prototype: integrates outputs
README.md - Project user → Overview prototype: views overview
README.md - Overview prototype → Demand forecasting: references planned page
app/app.py - Overview prototype → Product segmentation: references planned page
app/app.py - Overview prototype → Inventory insights: references planned page
app/app.py - Overview prototype → ML Lab: references planned page
app/app.py - Model evaluation → ML Lab: planned experiment review
README.md - Prediction → Demand forecasting: planned forecast display
README.md