2019 AWS SageMaker and Machine Learning - With Python
4.3 (681 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
6,792 students enrolled

2019 AWS SageMaker and Machine Learning - With Python

Learn about cloud based machine learning algorithms and how to integrate with your applications
4.3 (681 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
6,792 students enrolled
Created by Chandra Lingam
Last updated 4/2019
Current price: $11.99 Original price: $199.99 Discount: 94% off
2 days left at this price!
30-Day Money-Back Guarantee
This course includes
  • 19.5 hours on-demand video
  • 22 articles
  • 23 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to Udemy's top 3,000+ courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Learn AWS Machine Learning algorithms, Predictive Quality assessment, Model Optimization
  • Integrate predictive models with your application using simple and secure APIs

  • Convert your ideas into highly scalable products in days

  • All materials and software instructions are covered in housekeeping lecture
  • Familiarity with a programming language
  • AWS Account – if you want to try the hands-on activities. AWS charges a small amount for model creation and predictions
  • Some basic knowledge of Pandas, Numpy, Matplotlib would be helpful but not absolutely needed

*** UPDATE MARCH-12-2019.  I came to know that new accounts are not able to use AWSML Service.  AWS is asking new users to use SageMaker Service. 

I have restructured the course to start with SageMaker Lectures First.  Machine Learning Service Lectures are still available in the later parts of the course.  Newly updated sections start with 2019 prefix.

All source code for SageMaker Course is now available on Github

The new house keeping lectures cover all the steps for setting up code from GitHub.


*** SageMaker Lectures -  DeepAR - Time Series Forecasting, XGBoost - Gradient Boosted Tree algorithm in-depth with hands-on.  XGBoost has won several competitions and is a very popular Regression and Classification Algorithm, Factorization Machine based Recommender Systems and PCA for dimensionality reduction ***

There are several courses on Machine Learning and AI.  What is special about this course?  

Here are the top reasons:  

  1. Cloud based machine learning keeps you focused on the current best practices.  

  2. In this course, you will Learn most useful algorithms. Don’t waste your time sifting through mountains of techniques that are in the wild

  3. Cloud based service is very easy to integrate with your application and has support for wide variety of programming languages.

  4. Whether you have small data or big data, elastic nature of the AWS cloud allows you to handle them all.

  5. There is also No upfront cost or commitment – Pay only for what you need and use

In this course, you will learn AI and Machine Learning in three different ways:

AWS Machine Learning

AWS Machine Learning Service is designed for complete beginners.   

You will learn three popular easy to understand linear algorithms from the ground-up  

You will gain hands-on knowledge on complete lifecycle – from model development, measuring quality, tuning, and integration with your application

AWS SageMaker

The next service is AWS SageMaker.  

If you are comfortable coding in Python, SageMaker service is for you.  

You will learn how to deploy your own Jupyter Notebook instance on the AWS Cloud.  

You will gain hands-on model development experience on very powerful and popular machine learning algorithms like  

  • XGBoost – a gradient boosted tree algorithm that has won several competitions,  

  • Recurrent Neural Networks for Time Series forecasting,  

  • Factorization Machines for high dimensional sparse datasets like Click Stream data  

  • Neural Network based Image Classifiers,  

  • Dimensionality reduction with Principal Component Analysis  

  • and much more

Application Services

In Application Services section of this course,  

You will learn about a set of pre-trained services that you can directly integrate with your application.  

You will gain hands-on experience in ready-to-use Vision service for image and video analysis, Conversation chatbots and Language Services for text translation, Speech recognition, and text to speech and more

I am looking forward to seeing you in the course.

Who this course is for:
  • This course is designed for anyone who is interested in machine learning and data science
  • If you are new to machine learning, this is a perfect course to upskill yourself and fastest way to learn machine learning
  • If you are an experienced practitioner, you will gain insight into AWS Machine Learning capability and learn how you can convert your ideas into highly scalable solution in a matter of days
  • AWS Certification - If you are preparing for certification, you will learn best practices and gain hands-on experience on securely deploying products using AWS Cloud
Course content
Expand all 229 lectures 19:42:16
+ Introduction and Housekeeping
7 lectures 44:03

Introduction to AWS Machine Learning Course, Topics Covered, Course Structure

Preview 02:38
Root Account Setup and Billing Dashboard Overview
Enable Access to Billing Data for IAM Users
Create Users Required For the Course
AWS Command Line Interface Tool Setup and Summary
Six Advantages of Cloud Computing
AWS Global Infrastructure Overview
+ 2019 SageMaker Housekeeping
4 lectures 13:54

Following Downloadable Resources are available in this lecture:

1. Source Code and Data Setup Document

2. Introduction to Machine Learning and Concepts Document

Downloadable Resources
Demo - S3 Bucket Setup
Demo - Setup SageMaker Notebook Instance
2019 Demo - Source Code and Data Setup
+ 2019 Machine Learning Concepts
5 lectures 47:50
2019 Introduction to Machine Learning, Concepts, Terminologies
2019 Data Types - How to handle mixed data types
2019 Introduction to Python Notebook Environment
2019 Introduction to working with Missing Data
2019 Data Visualization - Linear, Log, Quadratic and More
+ 2019 SageMaker Service Overview
4 lectures 07:20
Downloadable Resources
SageMaker Overview
Compute Instance Families and Pricing
Algorithms and Data Formats Supported For Training and Inference
+ XGBoost - Gradient Boosted Trees
19 lectures 01:56:43

"XGBoost (eXtreme Gradient Boosting) is a popular and efficient open-source implementation of the gradient boosted trees algorithm. Gradient boosting is a supervised learning algorithm that attempts to accurately predict a target variable by combining the estimates of a set of simpler, weaker models. XGBoost has done remarkably well in machine learning competitions because it robustly handles a variety of data types, relationships, and distributions, and the large number of hyperparameters that can be tweaked and tuned for improved fits. This flexibility makes XGBoost a solid choice for problems in regression, classification (binary and multiclass), and ranking"


Introduction to XGBoost
Source Code Overview
Demo - Create Files in SageMaker Data Formats and Save Files To S3
Demo - Working with XGBoost - Linear Regression Straight Line Fit
Demo - XGBoost Example with Quadratic Fit
Demo - Kaggle Bike Rental Data Setup, Exploration and Preparation
Demo - Kaggle Bike Rental Model Version 1
Demo - Kaggle Bike Rental Model Version 2
Demo - Kaggle Bike Rental Model Version 3
Demo - Training on SageMaker Cloud - Kaggle Bike Rental Model Version 3
Demo - Invoking SageMaker Model Endpoints For Real Time Predictions
Demo - Invoking SageMaker Model Endpoints From Client Outside of AWS
How to remove SageMaker endpoints and Shutdown Notebook Instance
Creating EndPoint From Existing Model Artifacts
XGBoost Hyper Parameter Tuning
Demo - XGBoost Multi-Class Classification Iris Data
Demo - XGBoost Binary Classifier For Diabetes Prediction
Demo - XGBoost Binary Classifier for Edible Mushroom Prediction
Summary - XGBoost
+ SageMaker - Principal Component Analysis (PCA)
12 lectures 32:41
Downloadable Resources

"PCA is an unsupervised machine learning algorithm that attempts to reduce the dimensionality (number of features) within a dataset while still retaining as much information as possible. This is done by finding a new set of features called components, which are composites of the original features that are uncorrelated with one another. They are also constrained so that the first component accounts for the largest possible variability in the data, the second component the second most variability, and so on."


Introduction to Principal Component Analysis (PCA)
PCA Demo Overview
Demo - PCA with Random Dataset
Demo - PCA with Correlated Dataset
Cleanup Resources on SageMaker
Demo - PCA with Kaggle Bike Sharing - Overview and Normalization
Demo - PCA Local Model with Kaggle Bike Train
Demo - PCA training with SageMaker
Demo - PCA Projection with SageMaker
Exercise : Kaggle Bike Train and PCA
+ SageMaker - Factorization Machines
6 lectures 29:31
Downloadable Resources

"A factorization machine is a general-purpose supervised learning algorithm that you can use for both classification and regression tasks. It is an extension of a linear model that is designed to capture interactions between features within high dimensional sparse datasets economically. For example, in a click prediction system, the factorization machine model can capture click rate patterns observed when ads from a certain ad-category are placed on pages from a certain page-category. Factorization machines are a good choice for tasks dealing with high dimensional sparse datasets, such as click prediction and item recommendation."


Introduction to Factorization Machines
MovieLens Dataset
Demo - Movie Recommender Data Preparation
Demo - Movie Recommender Model Training
Demo - Movie Predictions By User
+ SageMaker - DeepAR Time Series Forecasting
11 lectures 01:10:33
Downloadable Resources

"The Amazon SageMaker DeepAR forecasting algorithm is a supervised learning algorithm for forecasting scalar (one-dimensional) time series using recurrent neural networks (RNN)"


Introduction to DeepAR Time Series Forecasting
DeepAR Training and Inference Formats
Working with Time Series Data, Handling Missing Values
Demo - Bike Rental as Time Series Forecasting Problem
Demo - Bike Rental Model Training
Demo - Bike Rental Prediction
Demo - DeepAR Categories
Demo - DeepAR Dynamic Features Data Preparation
Demo - DeepAR Dynamic Features Training and Prediction
+ AWS Machine Learning Service
13 lectures 01:02:11
2019 MARCH - Important Update: AWS Machine Learning Service Deprecated
  1. Setup Anaconda Python Development Environment
  2. Install Boto3 Module needed for AWS
Python Development Environment and Boto3 Setup

1. Setup Course Folder in local machine

2. Download Project Source Code

3. Download Data files

Project Source Code and Data Setup

Introduction to Python Development Environment, Pandas, NumPy, Matplotlib

Lab: Intro to Python Jupyter Notebook Environment, Pandas, Matplotlib
  1. Setup Simple Storage Service (S3) Bucket and Security Policies to allow access to machine learning
  2. S3 is the storage location where training, evaluation and test file will be kept
Lab: AWS S3 Bucket Setup and Configure Security

Summary of Introduction, Development Environment Setup and AWS Configuration

Introduction and House Keeping Quiz
5 questions
Optional: Machine Learning Where To Start (Article)

Learn about standard machine learning terminologies that we will be using in this course

Machine Learning Terminology

Introduces data types supported by AWS Machine Learning with examples

Data Types supported by AWS Machine Learning

Introduces linear regression models with examples; hands-on python data analysis for assessing the input features.

Linear Regression Introduction

Introduces binary classification models with examples; hands-on python data analysis for assessing the input features.

Binary Classification Introduction

Introduces multiclass classification models with examples; hands-on python data analysis for assessing the input features.

Multiclass Classification Introduction

Overview of plotting capability in python using Matplotlib and how various functions appear in a graph.  Useful for understanding relation between input and output attributes.

Data Visualization - Linear, Log, Quadratic and More
Algorithm and Terminology Quiz
10 questions
+ Linear Regression
3 lectures 22:54

Understand concepts behind linear regression.  How does the algorithm predict a numeric value, what optimization steps does it go through, how does it evaluate cost/loss and more

Lab: Linear Model, Squared Error Loss Function, Stochastic Gradient Descent

Understand how linear regression is able to fit non-linear shapes

Lab: Linear Regression for complex shapes
Linear Regression Quiz
5 questions