Amazon Forecast
Amazon Forecast
Thi Nguyen
Solutions Architect
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The power of forecasting
IMPROVING BUSINESS OUTCOMES WITH MACHINE LEARNING
Make longer term decisions with more confidence Plan for sales and top-line revenue
Improve capital utilization Effectively manage cash flows
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The current landscape
Customers increasingly want more variety, they
want it immediately, and they want it cheaply
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Foxconn saves $500K annually
MANUFACTURES SOME OF THE MOST WIDELY USED ELECTRONICS WORLDWIDE
Challenge Solution
● Limited data science experience ● Built a custom forecasting
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Meesho increased forecasting accuracy by 20%
INDIA'S LARGEST MARKETPLACE FOR 100 MILLION SMALL BUSINESSES
Challenge Solution
● Out of stock (OOS) products ● Frequent model retraining to
degraded customer experience. capture trend and seasonality.
● Suppliers had no visibility on ● Weekly forecast of inventory
inventory needs. for suppliers.
● Leveraged probabilistic
forecast using quantiles.
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon’s evolutionary forecasting journey
STATISTICAL METHODS ML METHODS ML + DEEP LEARNING
Best for few or independent Best for complex and inter-related data
data (e.g., aggregate demand) (e.g., thousands of SKUs at hundreds of stores)
• Aggregate demand • Regional vs national demand
• Everyday household • Subtle seasonal patterns
products • Relationships between products
• Basic trends • New products
• Repeated seasonal patterns • Slow moving products
• Changing prices or promotions
• External events
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 6
Highly accurate Train and deploy ML models which
can be up to 50% more accurate than traditional
methods. No machine learning experience required
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Purpose-built low code no code (LCNC) services
Business Data
Developers Scientists
Analysts
Code to Amazon Use existing
Drag-and-drop Forecast APIs, Amazon SageMaker
forecasting using integrate into JumpStart models
Amazon SageMaker existing systems or build custom
Canvas
models
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Fully managed ML forecasting
PREPARE, BUILD, TRAIN, TUNE, DEPLOY, AND MANAGE
Inspect Feature- Built-in Train/ Select & Train & Optimize Calculate Host Compute Predictor
data; specific data sets test tune hyper- optimize ensembled accuracy trained & host monitoring
fill imputation (weather/ split parameters multiple model metrics, models inference
missing holidays) base for each explainability
rows models time series impact scores
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Forecasting workflow
AUTOMATED FORECASTING BY SCHEDULES OR BY EVENTS
Integrate &
build consensus
on predicted data
Monitor
model performance
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Forecasting inputs and outputs
Historical data
Sales, inventory, call Amazon Forecast
volume, resource demand SageMaker Canvas
Related data
Price, promotions, in-stock,
Forecasts Explainability
weather, custom events
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Data input examples
Target time series Related time series Item metadata
(Historical demand)
Tips:
1. Identify data sources and validate data is time series.
2. Gather large number of item IDs and historic data points (e.g. 3 years of daily data).
3. Clean and prepare data in consistent time stamp and frequency.
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
No code forecasting with SageMaker Canvas
POINT AND CLICK INTERFACE TO QUICKLY GENERATE MACHINE LEARNING FORECASTS
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Single-item or batch forecasts
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Generate ‘what-if’ scenarios
• What is the impact on sales if
I decrease prices?
• How do external factors
impact demand?
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Integrate Amazon Forecast into your process
AWS STEP FUNCTIONS SEQUENCES AMAZON FORECAST API CALLS
Amazon Forecast
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Understand your forecasts with explainability
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Balancing under-forecasting and over-forecasting
FORECAST AT VARIOUS QUANTILES OF THE PROBABILITY DISTRIBUTION
P50 P75
50% 75%
probability probability of
of meeting meeting demand
demand
100 200 300 400 500 600 700 800 900 1000 100 200 300 400 500 600 700 800 900 1000
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Forecasting customers
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The AWS Prototyping Program helps customers contextualize
complex uses of the AWS Platform and associated services by
building working prototypes of specific customer use cases,
leveraging their existing data, devices and systems.
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
ASEAN Prototyping Assets
Visual Product Offers/Products Omni-channel
recognition personalization engagement platform
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Further resources
Main Page: Canvas | Forecast
Pricing: Canvas | Forecast
Documentation: Canvas | Forecast
Customer Use Cases: Canvas | Forecast
Blogs: Canvas | Forecast
GitHub / MLOps: Forecast
Contact your AWS account manager or email [email protected]
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.