What does this AWS Solutions Implementation 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 to 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.
AWS Solutions Implementation overview
Deploying this solution with the default parameters builds the following serverless environment in the AWS Cloud.
Improving Forecast Accuracy with Machine Learning solution 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, datasets 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.
Note: To subscribe to RSS updates, you must have an RSS plug-in enabled for the browser you are using.
Browse our library of AWS Solutions Implementations to get answers to common architectural problems.
Find AWS certified consulting and technology partners to help you get started.
Browse our portfolio of Consulting Offers to get AWS-vetted help with solution deployment.