Giter VIP home page Giter VIP logo

amazon-forecast-samples's Introduction

Amazon Forecast Samples

This goal of this repository is to provide a common starting point for learning how to use the various features of Amazon Forecast.

For detailed specifics of any concept mentioned look at the Forecast developer guide

In the Notebooks you will learn to:

  1. Prepare a dataset for use with Amazon Forecast.
  2. Build models based on that dataset.
  3. Evaluate a model's performance based on real observations.
  4. How to evaluate the value of a Forecast compared to another.

Agenda

The steps below outline the process of building your own time-series prediction models, evaluating them, and then cleaning up all of yuour resources to prevent any unwanted charges. To get started execute the following steps.

  1. Deploy the CloudFormation Template below or build a local Jupyter environment with the AWS CLI installed and configured for your IAM account.
  2. 1.Getting_Data_Ready.ipynb - Guides you through preparing your dataset to be used with Amazon Forecast.
  3. 2.Building_Your_Predictor.ipynb - Explains how to use the dataset you prepared to build your first model.
  4. 3.Evaluating_Your_Predictor.ipynb - Takes the model you just created and evaluates its performance against real observed measurements.
  5. 4.Cleanup.ipynb - Deletes Amazon Forecast resources and IAM role created in above notebooks.

Each notebook can be found within the notebooks folder in this project.

Prerequisites

  1. An AWS Account
  2. A user in the account with administrative privileges

Outline

  1. First you will deploy a CloudFormation template that will create an S3 bucket for data storage, a SageMaker Notebook Instance where the exercises are executed, IAM policies for the Notebook Instance, and it will clone this repository into the Notebook Instance so you are ready to get started.
  2. Next you will open the Getting_Data_Ready.ipynb to get started.
  3. This notebook will guide you through the process of the other notebooks until you have a working and evaluated forecast.

Building Your Environment:

As mentioned above, the first step is to deploy a CloudFormation template that will perform much of the initial setup work for you. In another browser window or tab, login to your AWS account. Once you have done that, open the link below in a new tab to start the process of deploying the items you need via CloudFormation.

Launch Stack

Follow along with the screenshots below if you have any questions about deploying the stack.

Cloud Formation Wizard

Start by clicking Next at the bottom like this:

StackWizard

In the next page you need to provide a unique S3 bucket name for your file storage, it is recommended to simply add your first name and last name to the end of the default option as shown below, after that update click Next again.

StackWizard2

This page is a bit longer so scroll to the bottom to click Next.

StackWizard3

Again scroll to the bottom, check the box to enable the template to create new IAM resources and then click Create Stack.

StackWizard4

For a few minutes CloudFormation will be creating the resources described above on your behalf it will look like this while it is provisioning:

StackWizard5

Once it has completed you'll see green text like below indicating that the work has been completed:

StackWizard5

Now that you have your environment created, you need to save the name of your S3 bucket for future use, you can find it by clicking on the Outputs tab and then looking for the resource S3Bucket, once you find it copy and paste it to a text file for the time being.

StackWizard5

FAQ

Q. How do I contribute my own example notebook?

A. Although we're extremely excited to receive contributions from the community, we're still working on the best mechanism to take in examples from external sources. Please bear with us in the short-term if pull requests take longer than expected or are closed.

amazon-forecast-samples's People

Contributors

abdelkrim avatar akhilrazdan avatar chrisking avatar hyandell avatar ironistm avatar lovvge avatar lv6520 avatar nhira avatar patpizio avatar pearcem0 avatar rohitmenon83 avatar rvippagunta avatar shimomut avatar trnwwz avatar wontonst avatar yangcheng avatar yuzhoujianxia avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.