Industry recognized certification enables you to add this credential to your resume upon completion of all courses

Need Custom Training for Your Team?
Get Quote
Call Us

Toll Free (844) 397-3739

Inquire About This Course
Peter Chen, Instructor - Machine Learning Foundations: Supervised Learning

Peter Chen

Peter Chen is an analytics and data science professional that has an eclectic and deep background. He has previously worked in various senior positions at companies such as Algebraix Data, Petco, Mitchell International, Sempra Energy ,etc. He has been profiled in various media articles (“A Confession of a Data Miner”) about his analytics and data mining experience. He is widely published in industry trade magazines about analytics & data science. Peter received his BS in Management Science from the Massachusetts Institute of Technology/Sloan School of Management, his Masters in General Management from Harvard and is currently working on his second Masters in Software Engineering/Data Science at Harvard.

Instructor: Peter Chen

Practical Approach to Supervised Machine Learning

  • Learn how and when to apply prediction machine learning algorithms through a series of lectures and in-depth quizzes.
  • Instructor has worked in various senior roles for Algebraix Data, Petco, and Sempra Energy.  He recieved his bachelors from MIT & his Masters in Software Engineering/Data Science from Harvard.

Duration: 3h 29m

Course Description

My name is Peter Chen and I am the instructor for this course. I want to introduce you to the wonderful world of Machine Learning through practical examples and code. The course will cover Supervised Learning algorithms and models in machine learning. More importantly, it will get you up and running quickly with a practical and at times funny applications of Supervised Learning algorithms. The course has code & sample data for you to run and learn from. It also encourages you to explore your own datasets using Supervised Learning algorithms. Prerequisites: Beginner knowledge of Python and R. It's used mostly for expository reasons. You do NOT need to be a Python or R expert to understand this course. Basic math and comfortable with basic probability and statistics.

What am I going to get from this course?

* Understand the two major types of Supervised Machine Learning

* Know when to apply a prediction machine learning algorithm

* Know when to apply a classification machine learning algorithm

* Gain an intuition behind the math of the underlying algorithms and be able to explain it

* Learn how to use Python scikit-learn library and R libraries to build supervised machine learning models and algorithms

* Apply Python & R code to their data sets to solve prediction and classification problems

* Evaluate the effectiveness of their machine learning models

* Develop a taste for tinkering with the model to improve results


Prerequisites and Target Audience

What will students need to know or do before starting this course?

Basic Python and R. Do not need to be an expert programmer. We use these languages mainly for expository reasons. Basic probability math.  

Who should take this course? Who should not?

Students who are interested in a practical introduction to supervised machine learning. Less on theory, but more on practical application of machine learning that can get you up and running. Must like to play with data and code. Enthusiasm is more important than expertise.


Module 1: Introduction

Lecture 1 Introductions to Supervised Machine Learning

Module 2: Regressions

Lecture 2 Linear Regression

We will cover the basics of linear regression. Also work through example code in Python.

Lecture 3 Linear Regression using Statsmodels Module

Another approach using the statsmodels module. It gives more statistical tests and parameters than scikit learn.

Quiz 1 Linear Regression

Lecture 4 Multiple Linear Regression

This lecture extends the basic concept of linear regression to include more variables using the same car price prediction data set. Exercise encourages student to turn on/off different variables to see the effects that has on the model performance.

Quiz 2 Multiple Linear Regression Project: Turning Features On/Off

In our lecture example, we used ALL of the independent variables/features and we got an R^2 of 0.83. Please try to turn off some of the features and reran the multiple linear regression model to see what kinds of R^2 you can get. Does more features/predictors always equal to better R^2 or does it decrease the R^2 sometimes?

Lecture 5 Multiple Linear Regression Addendum: Using Statsmodel Module

Another approach using statsmodel module. It gives more detailed statistical answers than scikit learn.

Lecture 6 Polynomial Regression

You'll learn a type of regression not frequently discussed: polynomial regression. Learning how to fit nonlinear relationships.

Quiz 3 Polynomial Regression Project

Find a data set that has quadratic behavior and run a multiple linear regression and compare that R^2 with running a quadratic regression. P.S. Bonus points to those who understood the math joke at the end of Lecture 4.

Lecture 7 Polynomial Regression Addendum: Using Numpy

Another approach to polynomial regression using Numpy

Module 3: Neural Networks

Lecture 8 Neural Networks

Neural networks are machine learning algorithms that model after the way brain learns. You'll learn what they are and use neural network to predict continuous values problems such as the car price prediction before and many others.

Quiz 4 Project: Playing with Different Neural Network Architectures

In this assignment, please try to change the number of hidden layers, the type of activation functions , and the number of input nodes to see if it changes the effectiveness of the model predictions. This is more open ended exploration of neural network and the various components.

Module 4: Regression Trees

Lecture 9 Tree Regressions

Understand what tree regressions are and how flexible they can be for predicting often times non-linear problems that typical linear regression can fail.

Quiz 5 Tree Regression

Play with max_depth of the tree regression. Does increasing the max_depth on the tree improves the accuracy? At one point does diminishing returns occur? That is as you increase the max_depth more and more it stops getting better? Play with that parameter to see how it behaves. Also pick another nonlinear problem you like to predict using tree regression.

Module 5: Classification

Lecture 10 Introduction to Classification

The second type of Supervise Learning is classification. This introduces the concept of classification and the applications of classification.

Quiz 6 Classification
Lecture 11 Logistic Regression Part1

Logistic Regression, despite its name, is used for classification problems and not prediction problems. We examine the concept of using logistic regression for binary classification of whether an email is spam or not. Armed with this knowledge and code, students can easily modify the code to classify other binary problems.

Quiz 7
Lecture 12 Logistic Regression: Part 2

How to measure performance of binary classification

Quiz 8
Lecture 13 Logistic Regression: Part 3

Practical example of spam detection using logistic regression

Lecture 14 Naive Bayesian: Introductions & Probability Review
Lecture 15 Naive Bayesian

Develop an intuitive understanding of Bayes Rules through a worked out example also and see how that can be used to classify things.

Quiz 9 Naive Bayesian
Lecture 16 Classification Trees

Understand how tree models can be used for classification in addition to regression. Learn GraphViz application to visualize beautiful classification trees and use this powerful modern machine learning algorithm for the classic Iris data set.

Quiz 10 Classification Tree Quiz


11 Reviews

Terry P

December, 2016

Joanna B

May, 2017

A great learning material through many lectures and quizzes that helped me learn and apply prediction machine learning algorithms. The practical examples and code explained in the course are very enlightening that covered many models in machine learning. It helped me run quickly with supervised learning algorithms applications.Not only that I could also use my own datasets with supervised learning algorithms. The method of teaching was excellent, giving ample opportunity to make understand underlying algorithms. The lecture was never boring. The course gave me thorough understanding to build supervised machine learning models and algorithms. I found it a great course for me

Jacky M

May, 2017

After going through the series of lectures it can be easy for anyone to evaluate the effectiveness of their machine learning models and develop a taste to improve the results. An excellent course for me.

Bakytbek B

May, 2017

This is an excellent course.The course greatly helped me to learn the types of supervised machine learning and when to apply a prediction, a classification. The course provides everything you need to learn about supervised learning.

Arturo M

July, 2017

Exceptional quality course. I felt at times the videos covered concepts very rapidly. Even with the ability to rerun the video at times there was a lot to take on. Overall, it was a thoughtfully-developed course that I liked.

Zhun C

July, 2017

One of the finest courses I have taken. It improved my way of looking at machine learning and the way we interpret it. I am looking forward to further courses to be a part of this machine learning track.

Ron F

July, 2017

Great course. It requires the beginner to work on doing their own research to learn further. Very intelligent and professionally taught.

Nathan L

July, 2017

Exceptional quality course. I felt at times the videos covered concepts very rapidly. Even with the ability to rerun the video at times there was a lot to take on. Overall, it was a thoughtfully-developed course that I liked.

Graziano N

July, 2017

My reason for going after this course is to pick up some better innovative approaches that are used by professionals in machine learning but the bottom line was there is nothing much for me to understand here in details of methods. I would put forth this course is fit for a beginner but not for one who previously owns some familiarity with machine learning. Great introduction to machine learning.

Max H

October, 2017

This course gives an great overview of supervised learning techniques in machine learning in an intuitive way without the heavy mathematical machinery, and yet still makes a lot of sense. Even for the math parts, he explains and walks through the matter with worked out examples to make the math easier to understand.

Silvan D

October, 2017

I really liked his easy to follow code examples that applies each of the machine learning techniques. While you don't need to be a Python programmer to do well in this course, you should be able to read Python code to follow along. He does walk through the code line by line, which is great for those who are not fluent in Python. Overall great course and would recommend to my friends and co-workers.