โณ Time-Series Forecasting โข ๐ SARIMA Model โข ๐ Streamlit App โข ๐ Walmart Sales Data
This project predicts future weekly retail sales using real historical data and provides an interactive dashboard built with Streamlit. It includes full data preprocessing, sales trend analysis, time-series modeling (SARIMA), forecasting, and deployment.
๐ Live Demo: https://vidit-ml-forecast.streamlit.app
โข Convert dates to datetime format
โข Sort weekly data chronologically
โข Handle missing values
โข Aggregate sales by date
โข Line plots of weekly sales
โข Rolling 12-week average trend
โข Seasonal decomposition (trend, seasonality, residuals)
โข SARIMA (1,1,1)(1,1,1,52)
โข 12-week future forecast
โข Model diagnostics & evaluation
โข MSE, RMSE, MAE metrics
โข Interactive sections include:
๐ Weekly Sales Table (with rolling mean)
๐ Actual vs Forecasted Sales Chart
๐ฎ Future Predictions Table
โข Responsive & clean layout
sales-forecasting-dashboard/
โ
โโโ app.py # Streamlit dashboard
โโโ weekly_sales.csv # Cleaned dataset (exported from Colab)
โโโ forecast.csv # SARIMA model forecast (exported from Colab)
โโโ requirements.txt # Required dependencies
โโโ README.md # Project documentationโข I used a Seasonal ARIMA (SARIMAX) model with weekly seasonality (52 weeks). Model configuration:
order = (1, 1, 1)
seasonal_order = (1, 1, 1, 52)โข The model predicts 12 weeks ahead, generating a clean forecast used in the Streamlit dashboard.
โข Programming Python
โข Data Handling Pandas, NumPy
โข Visualization Matplotlib
โข Time-Series Modeling Statsmodels (SARIMAX)
โข Cloud Notebook Google Colab
โข Dashboard Streamlit
โข Deployment Streamlit Cloud
โข Version Control GitHub
git clone https://github.com/your-username/sales-forecasting-dashboard.git
cd sales-forecasting-dashboardpip install -r requirements.txtstreamlit run app.pyThe project is deployed on Streamlit Cloud.
-
Upload project folder to GitHub
-
Deploy โ Select GitHub repo
-
Choose app.py as the entry point
-
Add environment file (requirements.txt)
-
Deploy & get a public URL
โข The SARIMA model successfully forecasts 12 weeks of sales
โข Rolling averages reveal seasonal patterns
โข Dashboard provides intuitive visual insights
โข RMSE and MAE validate model performance
โข Add Facebook Prophet / NeuralProphet models
โข Add advanced EDA with store-wise or department-wise charts
โข Add interactive filters in Streamlit
โข Add anomaly detection on unusual sales spikes
โข Pull requests, suggestions, and forks are welcome!
โข Feel free to open an issue if you'd like to improve the dashboard.







