Home/Work/ Commodity forecasting
CPG · India · AI & Forecasting

Forecasting that
survives volatile markets.

Ensemble ARIMA + gradient-boosted model with a model-monitoring layer. Built for an Ayurvedic wellness startup to plan herb and raw-material purchases further ahead and shorten planning cycles across 12 SKUs.

ClientAyurvedic wellness startup, India
SectorCPG · India
Duration10 weeks (shipped 3 weeks early)
PracticeAI & Machine Learning
12
SKUs forecast in production
3×
Faster planning cycle
4wk
Reliable MAPE forecast window
The challenge

Volatile prices. Manual planning. Cautious buying.

The client is a young, founder-led Ayurvedic wellness brand. It buys herbs and other raw materials whose prices and availability swing with the season. A small team planned those purchases, and because the planning horizon was so uncertain, they bought cautiously and tied up cash in stock.

The existing process relied on spreadsheet-based 2-week rolling averages, with manual adjustments for festivals and monsoon cycles. Planning took up most of the week for the people who should have been running the business.

S.T.R.In.G was engaged to build a forecasting system that could reliably predict demand and price movements 4 weeks out — enough lead time to time purchases well and negotiate better supplier terms.

Our approach

Ensemble modelling with model health monitoring.

Phase 01 · Weeks 1–2

Data Audit & Feature Engineering

We audited the available sales and purchase history, fixed data quality issues, and engineered features including local festival calendars, monsoon indices and commodity price series as external regressors.

Phase 02 · Weeks 3–5

Model Development

Trained ARIMA, Prophet and LightGBM models independently. Evaluated against a held-out 8-week test window. Blended predictions using a meta-learner that weighted models by their recent accuracy on each SKU.

Phase 03 · Weeks 6–7

Model Monitoring Layer

Built drift detection on both input features and predictions. Automated weekly retraining pipeline. Alerting when a SKU's rolling MAPE exceeds threshold — surfaced to the team before purchase decisions are made.

Phase 04 · Weeks 7–8 (3 weeks early)

Integration & Handoff

Forecasts pushed directly into the client's purchase-planning workflow via API. A dashboard showing forecasts, confidence bands and explainability drivers. Runbook and 2-day handoff training for internal team.

The outcome

Shipped early. Adopted immediately.

The ensemble model delivered 4-week forecasts with a MAPE consistently below 8% across all 12 production SKUs — significantly better than the 18–22% error of the previous spreadsheet approach. The team began using the output in week 9, before the project officially closed.

Narrower confidence intervals let the team time purchases and size orders more precisely. Planning cycles that previously took a fortnight were cut to 4 working days.

"String Lab delivered our Prediction Model and Supply Chain Optimization much faster than expected. The quality was outstanding and far above our expectations." — Rohit Bhore, General Manager, Ayurvedic wellness startup

The model-monitoring layer has since flagged market-structure shifts, triggering targeted retraining before forecast accuracy degraded — exactly as designed.

Tech used
Python ARIMA / statsmodels Prophet LightGBM MLflow Apache Airflow FastAPI PostgreSQL AWS EC2 / S3
← All case studies AI development for forecasting Work with us on something similar