AI Demand Forecasting: Custom ML Model vs Off-the-Shelf Forecasting Software

A heat wave reaches North India in late April, and a fan maker's distributors run dry in ten days. Meanwhile, the same company holds four months of air coolers in a southern warehouse. Tracing the cause starts with an audit of past orders, the kind of work data analytics services cover.
Here, AI demand forecasting gets judged in rupees before anyone debates algorithms. First, you put a rupee value on each point of forecast error. Then you test whether a packaged tool or a custom model wins back those rupees at your depots.
Our running example is Tarang Appliances, an illustrative fan and cooler maker. It sells 1,400 SKUs through 60 distributors. Tarang is weighing AI demand forecasting because its forecasts miss by 38% on a weighted basis.
Three Engines Behind AI Demand Forecasting, and Where Each One Slips
Pick the engine by how your fans, coolers and spares actually sell, not by the vendor's pitch. Statistical methods extend each product's own past. Machine learning (ML) models learn one shared pattern across many products and outside signals.
Hybrids split the work. For instance, a statistical baseline handles each SKU. On top, an ML layer learns how a 42-degree week or a Diwali scheme shifts that baseline.
Here is how the three behave on Tarang's catalogue:
Approach
Statistical (exponential smoothing, ARIMA)
What it learns from
One SKU's own level, trend and season
Where it does well at Tarang
Steady ceiling fans with three clean years of sales
Where it slips at Tarang
A heat wave that never appeared in that SKU's own history
Approach
Machine learning (gradient-boosted trees such as LightGBM)
What it learns from
All 1,400 SKUs together, plus weather and price
Where it does well at Tarang
A new cooler variant that resembles last year's models
Where it slips at Tarang
Rare spare parts sold twice a year, where data is too thin
Approach
Hybrid (smoothing baseline per SKU plus a temperature-driven ML layer)
What it learns from
Each SKU's baseline, corrected by shared external signals
Where it does well at Tarang
Mixed catalogues where fast fans sit beside slow spares
Where it slips at Tarang
Two models to monitor, so planners need clear override rules
For AI demand forecasting, the best public test is the M5 competition, built on 42,840 Walmart sales series. Its organisers published the results in the International Journal of Forecasting in 2022. It was the first M competition where pure ML methods beat statistical ones.
The winners came out roughly 20% more accurate than the benchmarks. Most top teams used LightGBM, a gradient-boosted tree method. Still, plain statistical benchmarks outscored most of the field, so ML only wins when it is built with care.
How a Custom Forecasting Pipeline Turns Sales History Into an Order Plan

A working AI demand forecasting pipeline is seven linked jobs, and the model is only one of them. If the stockout step fails, the model learns that April fans were unpopular.
At Tarang, the flow runs in this order:
Ingest. Pull daily invoices, distributor stock reports, price lists and the promotion calendar into one store.
Clean demand. Flag weeks when a fan was out of stock, because those zeros hide real orders.
Build features. Add festival dates, temperature forecasts, price changes and lagged sales for each SKU and region.
Train. Fit one global model across all SKUs, plus a fallback method for intermittent spare parts.
Backtest. Replay the last 12 months week by week, scoring each forecast against what actually shipped.
Reconcile. Make SKU forecasts add up to depot, region and brand totals, so finance sees one number.
Publish and watch. Push forecasts into the ERP or planning screen, then alert on drift and bias weekly.
Steps 2 and 6 are where most teams cut corners. Yet they decide whether planners trust the output.
When Ready-Made Demand Forecasting Software Is the Smarter Buy
Buy first if most of your catalogue behaves like Tarang's steady ceiling fans. A packaged tool pays back quickly on such items, and a custom build would mostly repeat its work.
Packaged tools usually suit a steady catalogue when most of these hold:
Your sales follow repeatable seasons, with few dealer schemes or price swings distorting history.
You run fewer than a few thousand SKU-location pairs, so manual review stays possible.
Your ERP vendor or planning suite already offers a forecasting module you pay for.
Nobody on your planning team can maintain a data pipeline, and the 16-week plan below looks unrealistic.
Each point of WAPE is worth less than a year of build upkeep, per the rupee math below.
If Tarang sold only ceiling fans in one state, a packaged AI demand forecasting tool would likely do. Its trouble comes from coolers, weather and a long tail of spares.
Signs Your Catalogue Needs a Custom Demand Forecasting Model
Build when your edge lives in data a vendor cannot see, such as dealer enquiry logs. Packaged tools tend to handle price and promotions well, but rarely a dealer's enquiry spreadsheet.
A custom build starts to pay off in situations like these:
A district's temperature or a festival week moves your sales more than last year's pattern does.
You hold signals competitors lack, such as distributor stock levels or service-centre complaint trends.
Your catalogue mixes fast movers with intermittent spares, so one method cannot serve both.
Fan motor supply, plant capacity or changeover time must shape the forecast you publish.
You want Tarang-style signals, features and trained models to stay yours after any contract ends.
Factories that already stream machine data have a head start with AI demand forecasting. Sensor feeds from a fan assembly line could also inform production-aware plans. To see that kind of plant data in use, our predictive maintenance case study walks through a manufacturing setting.
The Data a Forecast Needs Before Anyone Picks a Model
For a fan or cooler SKU, AI demand forecasting needs two full years of weekly sales as a floor. That way, the model sees each summer twice. One year shows a pattern once, which cannot separate a hot April from a lucky one.
Tarang's own records matter most, and they need these fields:
Shipments or invoices by SKU, depot and week, with returns netted out separately.
Stockout flags, so a sold-out week reads as lost demand instead of zero interest.
Price and discount history, including dealer schemes that rarely reach the ERP.
A promotion and launch calendar whose dates line up with the sales weeks, including Diwali schemes.
For Tarang, the most useful outside signals are district temperature forecasts, Diwali dates and monsoon onset. Competitor price moves and wedding-season dates matter too. Weigh each by a backtest, since some signals add noise instead of accuracy.
Better forecasts also change what happens after an order is placed. A firm weekly number lets transport teams book trucks earlier. That is where AI route optimization in logistics takes over from planning.
Scoring a Forecast: MAPE, WAPE and Bias on One Tarang Week
Report WAPE to the business, bias to planners, and MAPE only for high-volume items. These three forecast accuracy metrics answer different questions, and mixing them up can hide an April shortfall.
Take one week at a single Tarang depot:
Item that week
1,200 mm ceiling fan
Forecast
810
Actual sales
900
Absolute error
90
Percentage error
10%
Item that week
Spare blade kit
Forecast
9
Actual sales
4
Absolute error
5
Percentage error
125%
Item that week
Desert cooler in a cold week
Forecast
2
Actual sales
0
Absolute error
2
Percentage error
Undefined, because Tarang sold zero coolers that week
MAPE averages the last column. Here it explodes because of a five-unit miss and breaks entirely on the cooler. As a result, one tiny spare part dominates the score.
WAPE divides total absolute error (97 units) by total actual sales (904 units). That gives 10.7%, which tracks where the money actually sits.
Bias compares total forecast (821) with total actual (904). The result is minus 9.2%, so this depot is under-forecasting. That steady shortfall is what empties distributor shelves in April.
Finally, test every AI demand forecasting model against a naive forecast, such as same week last year. If a tool cannot beat that, its accuracy score means little.
Pricing the Error: What AI Demand Forecasting Costs Against What It Saves
Decide by comparing the rupee value of each WAPE point with the extra cost of building. Start with your own numbers, not industry averages.
Suppose Tarang's finance team traces ₹9 crore a year to forecast error. That covers excess cooler stock, air freight on urgent fan orders and lost distributor sales. At 38% WAPE, each point of error is worth roughly ₹24 lakh.
Now imagine a packaged tool reaches 32% WAPE and a custom model reaches 27%. The five-point gap is worth about ₹1.2 crore a year. If the custom route costs less than that each year, including upkeep, it earns its place.
For Tarang, the two routes differ in more than the price tag:
Cost line
Upfront effort before Tarang's first live forecast
Ready-made software
Weeks mapping Tarang's 1,400 SKUs to the vendor's data format
Custom model
Months of stockout cleaning, feature work and backtesting before go-live
Cost line
Recurring spend once Tarang's forecasts run weekly
Ready-made software
A licence that often grows as Tarang adds SKUs, users or modules
Custom model
Cloud compute, drift monitoring and part of one ML engineer's week at Tarang
Cost line
Adding a signal such as district temperature
Ready-made software
Waits for the vendor's roadmap, or a paid customisation for temperature feeds
Custom model
Tarang's own team adds it, backtests it and ships it on its own schedule
Cost line
Leaving the setup after Tarang's third summer
Ready-made software
Tarang's tuned settings and cleaned history usually stay inside the vendor's system
Custom model
Code, features and trained models remain Tarang's property
What Published Studies Say About the Payoff
Outside Tarang's spreadsheet, the published upside of AI demand forecasting is real but uneven. McKinsey's 2022 work on operations forecasting put error reductions at 20% to 50%. It also linked that to up to 65% fewer lost sales and unavailable products.
A November 2026 McKinsey study of about 100 companies using advanced planning found a typical 2.6 times return. Top-quartile firms reached about 13 times.
However, 42% of organisations reported no clear return from AI in planning. A weak rollout can erase the gain.
Lessons Planners Can Borrow From Energy Forecasting
Grid operators have forecast with weather inputs for years, and AI demand forecasting can borrow their habits. They publish ranges, revise as cloud forecasts move, and score the evening peak hour on its own.
Demand planners can copy three of those habits:
Publish a high and low band around each fan forecast, so safety stock follows real uncertainty.
Refresh next-week forecasts when the district temperature outlook shifts, not at month end.
Score accuracy separately for peak periods, because errors there cost far more than average errors.
Renewable grids push these ideas furthest, since solar and wind output swing with cloud and wind speed. For a worked example from that world, read our energy forecasting case study on a renewable grid.
A 16-Week Rollout That Keeps Planners in Control

Roll out AI demand forecasting on one product family, prove the gain in shadow mode, then widen. Tarang would begin with coolers, because that is where its error costs the most.
A practical sequence looks like this:
Baseline (weeks 1 to 3): Audit data, flag stockouts, and record today's WAPE and bias as the baseline.
Backtest (weeks 4 to 8): Build features and backtest candidate models on two years of cooler history.
Shadow run (weeks 9 to 12): Run the model in shadow mode beside planners, without changing any orders.
Live pilot (weeks 13 to 16): Go live in one region, and log every planner override with a reason.
Scale-up (after week 16): Retrain monthly, review bias weekly, and extend to fans and spares.
The override log matters more than it looks. It shows whether human changes add accuracy or remove it.
What AI Demand Forecasting Still Gets Wrong
Even careful AI demand forecasting leaves some of Tarang's gaps open, despite clean data. Plan around these limits before signing, especially for spares and new launches.
The common weak spots are these:
Brand-new products. With no lookalike items, a model has nothing to learn from yet.
Sudden breaks. A lockdown or a sudden tax change can make past patterns misleading for months.
Very slow spares. Items like Tarang's blade kits often suit Croston-style statistical methods better.
Planner trust. Planners resist numbers they cannot explain, so show top drivers like temperature beside each forecast.
Broken feeds. If a distributor report stops overnight, the model may forecast from stale stock data.
Supply limits. A perfect forecast cannot conjure fans when a motor supplier ships late.
This is also why a custom build is not for everyone. A two-planner team selling steady fans may spend more running it than it saves.
Start With One Product Family and a Priced Error
Pick the family where errors cost you most, and measure WAPE and bias first. Then compare one packaged trial against a custom backtest on the same data. If the custom route wins, our machine learning development services can scope that first build with you.
FAQs
It can learn something, but one summer gives each season a single example. Pooling similar SKUs into one global model helps. Still, plan to retest once a second summer of data arrives.
Most ERP modules run statistical methods on each item alone. An ML approach learns across items and adds outside signals like temperature. That difference matters most for heat-sensitive coolers and promotion-heavy festival ranges.
Yes, AI demand forecasting can, if similar coolers exist in your history. The model borrows patterns from those lookalikes by price band, size and region. For a truly new category, such as Tarang's first room heater, expect wide ranges and lean on planner judgement.
There is no universal target, because a weekly depot number runs higher than a national monthly one. A better test is beating your own baseline, such as Tarang's 38%, and a naive forecast every week.
They should, and every override should carry a reason code. After a quarter, compare overridden forecasts with model forecasts. That comparison shows where human input adds value, and where it quietly adds bias.
Monthly retraining suits most seasonal catalogues like Tarang's. Retrain sooner after a big price change, a new channel or a run of high bias.
A well-built pipeline checks each distributor file for gaps or late arrival before training. It then keeps last week's fan and cooler forecast and alerts the planner, rather than publish from missing stock.
Founder & CEO
Divyang Mandani is the CEO of KriraAI, driving innovative AI and IT solutions with a focus on transformative technology, ethical AI, and impactful digital strategies for businesses worldwide.