AI-based demand forecasting application for retail inventory optimization using statistical and Machine Learning models.
This project was developed as part of my Master's dissertation and aims to improve inventory planning by forecasting future product demand using historical retail sales data.
Instead of relying only on average daily sales, the application evaluates multiple forecasting algorithms and compares their performance to support inventory replenishment decisions.
Data extraction
Data preprocessing
Exploratory Data Analysis (EDA)
Time Series Analysis
Forecasting models
Model evaluation
Interactive dashboard
- Python
- Pandas
- NumPy
- Scikit-Learn
- Statsmodels
- TensorFlow / Keras
- XGBoost
- Prophet
- Matplotlib
- Streamlit
Sales Evolution
Pearson Correlation - Heatmap
Observed, Trend, Seasonal and Residual components were extracted to better understand the time series behaviour.
The project compares both statistical and Machine Learning approaches.
Models were compared using:
MAE RMSE R² Score
Performance comparison was used to determine the most suitable forecasting model for retail demand prediction.
xgboost
The application includes an interactive Streamlit dashboard where users can:
explore historical sales visualize forecasts compare prediction models inspect forecasting metrics analyze demand trends