February 28th, 2022

Demand Sensing with H2O Wave : Supply Chain Intelligence and Inventory Optimization for Retail, CPG, and FMCG Industries

RSS icon RSS Category: H2O AI Cloud, Use Cases, Wave
Demand Sensing can help optimize inventories by analyzing and modeling short-term and real-time signals

The supply chains across the Consumer Packaged Goods (CPG), Fast-Moving Consumer Goods (FMCG) and Retail sectors need to continuously monitor the drivers that may impact their internal models and processes. These include systems around Manufacturing, Warehouse Management, Transportation, Distribution, Logistics, Inventory, Procurement, Demand & Cash Flow. Machine learning models can help in forecasting the demand based on historical data, however, the real-time signals and short-term effects are often ignored. The covid-19 pandemic that started in 2019 has shown a significant impact on global supply chains and is a clear example of a real-world driver causing a major disruption. 

Demand forecasting models can be improved by adding the information from short-term events and signals to give better forecasts. This is called demand-sensing. Demand Sensing leverages statistical techniques and real-time data signals to enhance the forecasting models. Demand Sensing modeling applies statistical techniques applied to real-time signals to generate accurate forecasts. Demand Sensing is fundamentally different in forecasting as it uses a much broader range of demand signals including current data from the supply chain and various mathematical models to create a more accurate forecast that responds to real-world events such as Market Shifts, Weather Changes, Natural Disasters.

These models directly translate into business decisions such as efficient inventory management, reduced operating costs, and achieving key objectives.

At H2O.ai, we work closely with a number of supply-chain use cases for customers across the Retail, FMCG, and CPG industry. The top use case is always demand sensing and to help these customers, we have developed an in-house solution that uses machine learning to correctly forecast the demand by picking the right features.

On top of the solution, we have developed an AI application that allows stakeholders to assess their existing models and generate demand sensing results. This application is developed using H2O Wave – an open-source Python development framework that makes it fast and easy for data scientists, machine learning engineers, and software developers to develop real-time interactive AI applications. The workflow of the process is depicted below:

Demand Sensing Application Process and Workflow

In the app, users can: 

  • Connect with a data source, apply filters to choose Stock-Keeping Units (SKUs), regions, products to narrow the data for the right section. 
  • Select the model parameters and run the demand sensing model on your dataset.
  • After the model training is complete, it will generate a dashboard of insights at the global level (all SKUs, all products, etc.),


  • The global insights dashboard shows if an SKU will have a positive or negative impact in the coming days/weeks. 
  • The dashboard also shows the impact/analysis by SKUs:

The demand sensing feature importance can be generated to understand what is causing the most impact on the short-term predictions.

Short-term predictions may be suitable for a few weeks. But the world changes daily. To adapt to these conditions, you need to update your forecasts daily, hourly, or even in real-time. Enter demand sensing. In effect, you superimpose what happened last week onto your short-term models and alter the predictions based on the new data. This tool is crucial for stakeholders dealing with supply chain management or inventory optimization use cases and who need to do this daily for thousands of products in hundreds of locations.

How to Get Started

First of all, check out this demo video to see the demand sensing app in action:

The app is available on H2O AI Cloud. All you need is a free trial account to get some hands-on experience. Sign up today!

About the Author

Shivam Bansal

Shivam is the 3x Kaggle Grandmaster, 5 times winner of Kaggle’s Analytics / Data Science for Good Competition, and the winner of several other offline and online competitions. He holds a master's degree from the National University of Singapore and was a Valedictorian. He has extensive cross-industry and hands-on experience in building data science products and applications. He brings a strong blend of technical and business skills with a practical and solution-driven approach. He supports various functions within the company which include - engineering, pre-sales, and customer success. His LinkedIn profile can be found here.

Leave a Reply

Enhancing H2O Model Validation App with h2oGPT Integration

As machine learning practitioners, we’re always on the lookout for innovative ways to streamline and

May 17, 2023 - by Parul Pandey
Building a Manufacturing Product Defect Classification Model and Application using H2O Hydrogen Torch, H2O MLOps, and H2O Wave

Primary Authors: Nishaanthini Gnanavel and Genevieve Richards Effective product quality control is of utmost importance in

May 15, 2023 - by Shivam Bansal
AI for Good hackathon
Insights from AI for Good Hackathon: Using Machine Learning to Tackle Pollution

At H2O.ai, we believe technology can be a force for good, and we're committed to

May 10, 2023 - by Parul Pandey and Shivam Bansal
H2O democratizing LLMs
Democratization of LLMs

Every organization needs to own its GPT as simply as we need to own our

May 8, 2023 - by Sri Ambati
h2oGPT blog header
Building the World’s Best Open-Source Large Language Model: H2O.ai’s Journey

At H2O.ai, we pride ourselves on developing world-class Machine Learning, Deep Learning, and AI platforms.

May 3, 2023 - by Arno Candel
LLM blog header
Effortless Fine-Tuning of Large Language Models with Open-Source H2O LLM Studio

While the pace at which Large Language Models (LLMs) have been driving breakthroughs is remarkable,

May 1, 2023 - by Parul Pandey

Request a Demo

Explore how to Make, Operate and Innovate with the H2O AI Cloud today

Learn More