CloudAcademy
  1. Home
  2. Training Library
  3. Amazon Web Services
  4. Courses
  5. Introduction to the Principles and Practice of Amazon Machine Learning

Framing Problems

The course is part of these learning paths

Introduction to Machine Learning on AWS
course-steps 4 certification 1 lab-steps 2
AWS Big Data – Specialty Certification Preparation for AWS
course-steps 14 lab-steps 4 quiz-steps 4

Contents

keyboard_tab
Working with Data Sources
6
Data Manipulation Within Amazon Machine Learning
8
Working with Machine Learning Models
play-arrow
Start course
Overview
DifficultyAdvanced
Duration2h 12m
Students1664

Description

When we saw how incredibly popular our blog post on Amazon Machine Learning was, we asked data and code guru James Counts to create this fantastic in-depth introduction to the principles and practice of Amazon Machine Learning so we could completely satisfy the demand for ML guidance. If you've got a real-world need to apply predictive analysis to large data sources - for fraud detection or customer churn analysis, perhaps - then this course has everything you'll need to know to get you going.
James has got the subject completely covered:

  • What, exactly, Machine Learning can do
  • Why and when you should use it
  • Working with data sources
  • Manipulating data within Amazon Machine Learning to ensure a successful model
  • Working with Machine learning models
  • Generating accurate predictions

Transcript

Welcome to our lecture on formulating machine learning problems. In this lecture, we'll discuss the type of problems that are appropriate for machine learning, and consider an example problem, which we will work on throughout the remainder of this series.

Framing a machine learning problem for Amazon ML boils down to two considerations. First, you must determine what you have observed in the past.

Without data to process you cannot find patterns that help make predictions so you either need historical data or plan to begin gathering data. Then you have to decide which you would like to predict.

The data that you would like to predict is often called your label or target answer. You might want to predict how much insurance coverage a potential customer might buy. That would be a numeric target, and require a regression model, or you might be interested in finding documents that contain personal information so that they can be redacted for public release.

You can think of this type of problem as grouping documents into two sets, and that makes it a binary classification problem.

If you have more than two sets, for example, sorting books into genres, then you can still use ML to group the sets, but that would be a multiclass classification problem.

Throughout this series, we'll use Amazon ML to build a binary classification model, and use it to get predictions. The example data relates to a historical telemarketing campaign conducted by a Portuguese bank.

This data is freely available, and we'll cover how to get it in the later course. For now the important thing is to think about how this data fits into a business process. The bank would like to identify potential customers for targeted marketing campaign.

The idea of targeted marketing is to reduce costs by only directing the offer to customers who are likely to accept the offer. So we would like to divide our potential customers into two sets: one set that we think are likely to accept the offer and everyone else. The offer in this case is a bank term deposit, also known as a CD. So we will provide a machine learning algorithm with information about our customers as well as what we know about the response to the previous marketing campaign. The algorithm will then build a model, which we hope will help us identify customers who will respond favorably to the current marketing campaign. The target value in this problem a simple yes or no answer to the question, will this customer be interested in what I'm selling?

About the Author

Students1665
Courses1

James is most happy when creating or fixing code. He tries to learn more and stay up to date with recent industry developments.

James recently completed his Master’s Degree in Computer Science and enjoys attending or speaking at community events like CodeCamps or user groups.

He is also a regular contributor to the ApprovalTests.net open source projects, and is the author of the C++ and Perl ports of that library.