Co-developed with @burak-basoglu
Live Dashboard: https://hypeproject.streamlit.app/
A comprehensive, data-driven decision support system designed to optimize inventory management through demand forecasting, model comparison, and customer-centric insights.
This project goes beyond traditional forecasting by integrating business logic, analytics, and usability layers into a single workflow.
Inventory management is a critical challenge in retail operations.
- Understocking leads to lost sales and poor customer experience
- Overstocking results in increased holding costs and inefficient capital allocation
To enable effective planning, businesses must answer:
- What will be the future demand for each product?
- Which products require immediate replenishment?
- How can forecasting outputs be translated into actionable decisions?
- Which customer segments should be targeted under stock constraints?
This project addresses these questions by building an end-to-end forecasting and decision support system.
- Forecast product demand using historical sales data
- Compare different forecasting approaches and evaluate performance
- Support inventory planning with actionable insights
- Aggregate demand across multiple time levels:
- Weekly
- Monthly
- Quarterly
- Integrate RFM segmentation to connect inventory decisions with customer value
- Deliver outputs in a dashboard-ready format
The system is structured as a multi-layer analytical pipeline:
- Cleaning transactional data
- Handling missing values
- Removing anomalies and invalid entries
- Aggregating data into time-based structures
- Understanding demand distribution and patterns
- Identifying seasonality and trends
- Extracting business-relevant insights
- Modeling future demand using historical data
- Generating forecasts across different time granularities
- Supporting operational planning
- Comparing forecasting models
- Storing results in
model_comparison.csv - Selecting the most effective model
- Identifying high-value and at-risk customers
- Supporting marketing and inventory decisions
- Linking demand insights with customer behavior
- Providing an interactive interface
- Making results accessible to non-technical users
- Enabling quick business interpretation
- Time-based aggregation (weekly, monthly, quarterly)
- Forecast generation using historical demand patterns
- Model comparison and evaluation
- Recency โ How recently a customer purchased
- Frequency โ How often they purchase
- Monetary โ How much they spend
- Comparative performance tracking
- Selection based on predictive effectiveness
The project includes multiple processed datasets:
df.csvdf_merged.csv
weekly_sales.csvmonthly_sales.csvquarterly_sales.csv
aggregated_weekly_sales.csvaggregated_monthly_sales.csvaggregated_quarterly_sales.csv
model_comparison.csv
dashboard_summary.csvdashboard_summary_main.csv
rfm_results.csv
Programming Language
- Python
Core Libraries
- pandas
- numpy
- scikit-learn
- tensorflow
Visualization & App Layer
- streamlit
- altair
git clone "repository-url"
cd Demand_Forecasting_Based_Inventory_Management_System
pip install -r requirements.txt
python main.py
streamlit run app.py
This system provides measurable impact in real-world scenarios:
Forecast-driven planning helps maintain product availability.
Prevents overstocking and reduces capital lock-in.
Combines forecasting with segmentation for better strategy.
Useful for:
- Data teams
- Supply chain teams
- Marketing teams
- Identifying products with upcoming high demand
- Prioritizing inventory replenishment
- Designing targeted campaigns for high-value customers
- Monitoring performance through dashboards
This project demonstrates:
- Strong problem framing
- Integration of DL + business logic
- Focus on decision support, not just prediction
- Multi-level data aggregation
- Customer-centric thinking
This is not just a forecasting model โ
it is a decision support system for inventory optimization.
- Safety stock calculation
- Reorder point optimization
- Lead time integration
- API deployment
- Automated retraining pipeline
- Real-time dashboard integration