An Interactive AI-Powered Tool for Strategic Dark Store Placement
๐ Try it out now: dark-store.streamlit.app
๐ GitHub Repository: Dark Store Feasibility Analysis
Dark Stores are closed fulfillment centers designed exclusively for online orders, enabling faster deliveries and efficient inventory management. Where should these stores be located to maximize efficiency and revenue?
This project provides a data-driven solution to analyze, predict and recommend optimal locations for Dark Stores using Machine Learning, Data Visualization and Interactive Maps.
๐น Key Features:
โ
Predict Demand for Different Neighborhoods
โ
Recommend Top 6 Locations to Open Dark Stores
โ
Identify High-Demand Areas Needing Multiple Stores
โ
Visualize Trends with Interactive Graphs & Maps
โ
Machine Learning-Based Demand Forecasting
1๏ธโฃ Data Collection & Cleaning
- Raw data is processed in Google Colab notebooks (included in this repo).
- The cleaned, processed dataset is used for predictions.
2๏ธโฃ Data Analysis & Visualization
- Population growth, order volume trends and demand spikes analyzed.
- Graphs & charts provide insights into neighborhood potential.
3๏ธโฃ Machine Learning Model
- Uses Linear Regression to predict future demand.
- Evaluated with Mean Absolute Error (MAE) & RMSE for accuracy.
4๏ธโฃ Streamlit Web App
- Users can interact with data, view recommendations and explore maps.
| Component | Technology Used |
|---|---|
| Programming | Python ๐ |
| Web Framework | Streamlit ๐ |
| Data Processing | Pandas, NumPy |
| Machine Learning | Scikit-Learn ๐ค |
| Visualization | Plotly, Matplotlib ๐ |
| Mapping | Folium ๐บ๏ธ |
| Data Cleaning | Google Colab ๐ |
git clone https://github.com/atharvbyadav/Dark-Store-Feasibility-Analysis.gitstreamlit run MainScript.pyOnly for this repo. You can change data as per your need and upload your own Data Sets for Analysis.
๐ฆ Dark-Store-Feasibility
โ-- ๐ data
โ โ-- ๐ processed
โ โ โ-- Merged_Pune_Dark_Store_Data.csv
โ โ โ-- Pune_Climate_Delivery_Impact.csv
โ โ โ-- Pune_Neighborhood_Population_Analysis.csv
โ โ โ-- Pune_Online_Activity_Prediction.csv
โ โ โ-- pune_dark_stores.csv
โ โ
โ โ-- ๐ raw
โ โ โ-- Pune_Raw_Climate_Data.csv
โ โ โ-- Pune_Raw_Online_Activity_Data.csv
โ โ โ-- Pune_Raw_Population_Data.csv
โ โ โ-- pune-ward-wise-census-2011.csv
โ
โ-- ๐ notebooks
โ โ-- Clean_Climate.ipynb # Cleans climate data
โ โ-- DataCleaner.ipynb # Processes raw data
โ
โ-- ๐ app
โ โ-- app.py # Streamlit app
โ โ-- model.py # Machine Learning model
โ
โ-- LICENSE
โ-- MainScript.py
โ-- README.md
โ-- index.html # GitHub Pages support
โ-- requirements.txt
- Population & order volume trends per neighborhood
- Bar charts, scatter plots & interactive graphs
- Find the best locations for opening Dark Stores
- See order volume projections
- Identifies areas where 1 store isn't enough
- Helps optimize store placement
- Forecasts future demand trends
- Improves decision-making for dark store expansion
- View existing & recommended store locations
- Zoom in for neighborhood-level analysis
๐ Algorithm Used: Linear Regression
๐ Evaluation Metrics:
- Mean Absolute Error (MAE): Measures prediction accuracy.
- Root Mean Squared Error (RMSE): Checks for large deviations.
๐ก Better ML Models: Try XGBoost, Random Forest for higher accuracy.
๐ Live Data Feeds: Integrate real-time order tracking & traffic analysis.
๐ Competitor Heatmaps: Identify areas with less competition for strategic placement.
Contributions are welcome!
Feel free to fork this repo, suggest improvements or submit a pull request.
This project is licensed under the MIT License โ feel free to use, modify and distribute it.
See the LICENSE file for full details.
If you found this useful, consider giving it a star โญ on GitHub!