Smarter Demand Forecasting That Improved Sales Margins

Daily sales forecasts for every product and store, for a US commerce and logistics company

35% improvement
Over the previous forecasting pipeline
20% improvement
In sales margins
About 25 million samples a day
Processed by the pipeline

About the customer

Our client is a US commerce and logistics company that helps B2C and B2B businesses sell and fulfill orders across multiple channels. We built an inventory and demand forecasting module that predicts sales for each stock keeping unit (SKU), the unique code for each product, using historical data stored in the client’s data warehouse.

Company
Confidential Client
Country
USA
Industry
B2B & B2C
Customer size
6000+

What needed solving

Unsatisfactory forecasts

The existing sales forecasting pipeline wasn’t delivering satisfactory results, impacting sales margins and operational efficiency

Every SKU, every store

Sales had to be predicted for many SKUs across different stores

Large data volumes

The solution had to process large volumes of data and still provide accurate predictions

Existing infrastructure

Predictions had to integrate smoothly into the client’s existing infrastructure

How we built it

01

Data connection

Connected our Python environment to the data warehouse and linked each SKU to its store.

02

Data analysis

Explored the data to understand how the different features relate to each other.

03

Model selection

Tested several models and chose Prophet, an open-source forecasting model from Meta (originally released as Facebook Prophet), after multiple iterations.

04

Daily forecasting pipeline

Built on Kubeflow, it runs every day. Each day it forecasts sales for each SKU for the next 7, 14, 30 and 90 days, for all paying customers.

05

Pipeline monitoring

A monitoring service keeps the pipeline running every day without downtime, so the results stay reliable.

Result

Better forecasts and higher sales margins, at scale

35% improvement over the previous forecasting pipeline
20% improvement in sales margins
About 25 million samples processed a day

Technologies

PythonScikit-learnProphetSnowflakeGoogle BigQueryKubeflowCloud FunctionsCloud SchedulerCompute EngineOpsGenieDockerGitLabCI/CD

Domains

Data ScienceMLOpsPredictive AnalyticsPlatform Monitoring

Have a Query? Let's Have a Conversation

Do you have a project in mind? We’d love to know what it is. Email us or send a message from our contact page.

Location..
Visit Us At
Islamabad, Pakistan.
Drop a line..
Mail Address
info@vannguardai.com

Have a similar problem?

Tell us what you are trying to solve and our team will get back to you.

Talk to our team