Forecasts daily sales for 1,115 Rossmann stores using XGBoost. Helps optimize:
- Inventory management
- Staff scheduling
- Promotional planning
β
17% MAPE (42% better than naive baseline)
β
Processes 1M+ records in <5 minutes
β
Identified 3 underperforming promo strategies
- Source: Rossmann Sales Forecasting on Kaggle
train.csv
: Historical sales data for 1,115 Rossmann storesstore.csv
: Additional information about each store (type, competition, promos)
Feature | Description |
---|---|
WeekOfYear |
Seasonality indicator |
MonthsSinceCompetition |
Time since a competitor opened near the store |
IsPromoMonth |
Detects effective promo timing |
PrevWeekSales |
Lag feature to capture recent sales trend |
- Python π
- Pandas & NumPy
- XGBoost (regression)
- Matplotlib
- Scikit-learn
- Model: XGBoost Regressor
- Evaluation Metric: MAPE (Mean Absolute Percentage Error)