What does this AWS Solution do?
The Improving Forecast Accuracy with Machine Learning solution generates, tests, compares, and iterates on Amazon Forecast forecasts. The solution automatically produces forecasts and generates visualization dashboards for Amazon QuickSight or Amazon SageMaker Jupyter Notebooks—providing a quick, easy, drag-and-drop interface that displays time series input and forecasted output. Forecasting can be applied to predict retail inventory demand, supply-chain planning, workforce status, web traffic forecasting, and more.
Forecasts can be compared across dimensions (for example, retail store location) or item-level metadata (for example, product brand, size, and color). You can use this data for the following:
- Optimize existing forecasts - Save time and retain compatibility with your legacy tools, or gain insight into over- and under-provisioning, with the p50 forecast.
- Meet variable customer demand - Provide high levels of customer satisfaction with the p90 forecast, where the true value is expected to be lower than the predicted value 90% of the time.
- Avoid over-provisioning - Save on costs and avoid over-provisioning with the p10 forecast, where the true future demand value is expected to be lower than the predicted value only 10% of the time.

Benefits
Automated processes
blank
Secure deployment
blank
Proactive monitoring
blank
Automated visualization
AWS Solution overview
Deploying this solution with the default parameters builds the following serverless environment in the AWS Cloud.

Improving Forecast Accuracy with Machine Learning architecture
The AWS CloudFormation template deploys the resources required to automate your Amazon Forecast usage and deployments. Based on the capabilities of the solution, the architecture is divided into three parts: data preparation, forecasting, and data visualization. The template includes the following components:
- An Amazon Simple Storage Service (Amazon S3) bucket for Amazon Forecast configuration where you specify configuration settings for your dataset groups, dataset predictors, and forecasts, as well as the datasets themselves.
- An Amazon S3 event notification that triggers when new datasets are uploaded to the related Amazon S3 bucket.
- An Improving Forecast Accuracy with Machine Learning AWS Step Functions state machine. This combines a series of AWS Lambda functions that build, train, and deploy your Machine Learning (ML) models in Amazon Forecast. All AWS Step Functions log to Amazon CloudWatch.
- An Amazon Simple Notification Service (Amazon SNS) email subscription that notifies administrative users with the results of the AWS Step Functions.
- An Amazon SageMaker notebook instance that data scientists and developers can use to prepare and process data, and evaluate Forecast output.
- An AWS Glue job combines raw forecast input data, metadata, predictor backtest exports, and forecast exports into an aggregated view of your forecasts.
- Amazon Athena can be used to query your forecast output using standard SQL queries.
- Amazon QuickSight analyses can be created on a per-forecast basis to provide users with forecast output visualization across hierarchies and categories of forecasted items, as well as item level accuracy metrics. Dashboards can be created from these analyses and shared within your organization.
Improving Forecast Accuracy with Machine Learning
Version 1.5.2
Release date: 01/2023
Author: AWS
Estimated deployment time: 5 min
Note: To subscribe to RSS updates, you must have an RSS plug-in enabled for the browser you are using.
Related content
Learn how the Improving Forecast Accuracy with Machine Learning Solution simplifies short-term electric load forecasting for power and utilities to improve grid reliability.
In this blog post, we will show you how to build a reliable retail forecasting system using Amazon Forecast and an AWS-vetted solution called Improving Forecast Accuracy with Machine Learning.

Browse our library of AWS Solutions to get answers to common architectural problems.

Find AWS Partners to help you get started.

Find prescriptive architectural diagrams, sample code, and technical content for common use cases.