menu
arrow_back

Introduction to Amazon Machine Learning

55m access · 35m completion
Connection Details

Warning: Do not transmit data into the AWS Console that is not related to Qwiklabs or the lab you are taking.

Free

info_outline
You can take this lab for free! Other more advanced labs may cost credits to start.

00:55:00

Introduction to Amazon Machine Learning

SPL-35 Version 2.1.1

© 2018 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited.

Errors or corrections? Email us at aws-course-feedback@amazon.com.

Other questions? Contact us at https://aws.amazon.com/contact-us/aws-training/

Overview

Amazon Machine Learning (Amazon ML) is a robust machine learning platform that allows software developers to train predictive models and use them to create powerful predictive applications. Amazon ML allows business domain experts and software developers to focus on the problems they are trying to solve using predictive models rather than running and maintaining the compute and storage infrastructure required to train a supervised machine learning model.

In this lab, you will build out a simple Amazon Machine Learning model that will be used to predict whether or not a customer would like a restaurant. The results of the prediction will be based on a datasource of customer reviews. The information passed to Amazon Machine Learning will be the age, gender and budget preference of the prospective customer as well as the price and cuisine type of the restaurant. The real-time predictions endpoint will then return one of the following predictions:

  • excellent
  • very good
  • satisfactory
  • dislike

This will represent the likelihood that the customer will enjoy the restaurant.

Topics Covered

By the end of this lab, you will be able to:

  • Download a data set used to train a model in the Amazon Machine Learning service
  • Examine and understand the attributes used to train the model
  • Train and evaluate the model using Amazon Machine Learning
  • Make real-time predictions using the model

Technical Knowledge Prerequisites

To successfully complete this lab, you should:

  • Be familiar with the Amazon S3 service
  • Understand the concepts of bucket and object
  • Understand how to perform put and get operations on objects in an S3 bucket using the S3 Management Console or AWS CLI
  • Have taken the "Introduction to Amazon Simple Storage Service (S3)" lab
  • Have an understanding of the IAM policy language and how to use bucket policies to provide secure access to your S3 bucket from the machine learning service

Other AWS Services

Other AWS Services than the ones needed for this lab are disabled by IAM policy during your access time in this lab. In addition, the capabilities of the services used in this lab are limited to what is required by the lab and in some cases are even further limited as an intentional aspect of the lab design. Expect errors when accessing other services or performing actions beyond those provided in this lab guide.

What is Amazon Machine Learning?

Amazon ML can be used to make predictions for a variety of purposes. For example, you could build a model in Amazon ML that will predict whether a given customer is likely to respond to a marketing offer. Amazon ML creates models from supervised data sets. This means that the model is based on a set of previous observations. This set of observations consists of features or attributes as well as the target outcome. In the marketing offer example, the features might include the age, profession, and gender of the customer. The target outcome (also called the target variable) would be whether that particular customer responded to the marketing offer or not.

The process of creating a model from a set of known observations is called training. Once you have trained a model in Amazon ML, you can then use the model to predict outcomes from a set of attributes that matches the attributes used to train the model. Amazon ML scales so that you can make thousands of predictions concurrently. This is important, as today machine learning is often used to provide predictions in near real-time. In this lab, you will be using a machine learning model to predict which restaurants a customer is likely to favor based on the results of a search query.

Start Lab

Notice the lab properties below the lab title:

  • setup - The estimated time to set up the lab environment
  • access - The time the lab will run before automatically shutting down
  • completion - The estimated time the lab should take to complete
  1. At the top of your screen, launch your lab by clicking Start Lab

If you are prompted for a token, use the one distributed to you (or credits you have purchased).

A status bar shows the progress of the lab environment creation process. The AWS Management Console is accessible during lab resource creation, but your AWS resources may not be fully available until the process is complete.

  1. Open your lab by clicking Open Console

This will automatically log you into the AWS Management Console.

Please do not change the Region unless instructed.

Common login errors

Error : Federated login credentials

If you see this message:

  • Close the browser tab to return to your initial lab window
  • Wait a few seconds
  • Click Open Console again

You should now be able to access the AWS Management Console.

Error: You must first log out

If you see the message, You must first log out before logging into a different AWS account:

  • Click click here
  • Close your browser tab to return to your initial Qwiklabs window
  • Click Open Console again

Join Qwiklabs to read the rest of this lab...and more!

  • Get temporary access to the Amazon Web Services Console.
  • Over 200 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab
home
Home
school
Catalog
menu
More
More