4.59 out of 5
4.59
689 reviews on Udemy

Ensemble Machine Learning in Python: Random Forest, AdaBoost

Ensemble Methods: Boosting, Bagging, Boostrap, and Statistical Machine Learning for Data Science in Python
Instructor:
Lazy Programmer Inc.
8,045 students enrolled
English [Auto-generated]
Understand and derive the bias-variance decomposition
Understand the bootstrap method and its application to bagging
Understand why bagging improves classification and regression performance
Understand and implement Random Forest
Understand and implement AdaBoost

In recent years, we’ve seen a resurgence in AI, or artificial intelligence, and machine learning.

Machine learning has led to some amazing results, like being able to analyze medical images and predict diseases on-par with human experts.

Google’s AlphaGo program was able to beat a world champion in the strategy game go using deep reinforcement learning.

Machine learning is even being used to program self driving cars, which is going to change the automotive industry forever. Imagine a world with drastically reduced car accidents, simply by removing the element of human error.

Google famously announced that they are now “machine learning first”, and companies like NVIDIA and Amazon have followed suit, and this is what’s going to drive innovation in the coming years.

Machine learning is embedded into all sorts of different products, and it’s used in many industries, like finance, online advertising, medicine, and robotics.

It is a widely applicable tool that will benefit you no matter what industry you’re in, and it will also open up a ton of career opportunities once you get good.

Machine learning also raises some philosophical questions. Are we building a machine that can think? What does it mean to be conscious? Will computers one day take over the world?

This course is all about ensemble methods.

We’ve already learned some classic machine learning models like k-nearest neighbor and decision tree. We’ve studied their limitations and drawbacks.

But what if we could combine these models to eliminate those limitations and produce a much more powerful classifier or regressor?

In this course you’ll study ways to combine models like decision trees and logistic regression to build models that can reach much higher accuracies than the base models they are made of.

In particular, we will study the Random Forest and AdaBoost algorithms in detail.

To motivate our discussion, we will learn about an important topic in statistical learning, the bias-variance trade-off. We will then study the bootstrap technique and bagging as methods for reducing both bias and variance simultaneously.

We’ll do plenty of experiments and use these algorithms on real datasets so you can see first-hand how powerful they are.

Since deep learning is so popular these days, we will study some interesting commonalities between random forests, AdaBoost, and deep learning neural networks.

All the materials for this course are FREE. You can download and install Python, Numpy, and Scipy with simple commands on Windows, Linux, or Mac.

This course focuses on “how to build and understand“, not just “how to use”. Anyone can learn to use an API in 15 minutes after reading some documentation. It’s not about “remembering facts”, it’s about “seeing for yourself” via experimentation. It will teach you how to visualize what’s happening in the model internally. If you want morethan just a superficial look at machine learning models, this course is for you.

HARD PREREQUISITES / KNOWLEDGE YOU ARE ASSUMED TO HAVE:

  • Calculus

  • Probability

  • Object-oriented programming

  • Python coding: if/else, loops, lists, dicts, sets

  • Numpy coding: matrix and vector operations

  • Linear regression, logistic regression, decision trees, kNN

TIPS (for getting through the course):

  • Watch it at 2x.

  • Take handwritten notes. This will drastically increase your ability to retain the information.

  • Write down the equations. If you don’t, I guarantee it will just look like gibberish.

  • Ask lots of questions on the discussion board. The more the better!

  • Realize that most exercises will take you days or weeks to complete.

  • Write code yourself, don’t just sit there and look at my code.

WHAT ORDER SHOULD I TAKE YOUR COURSES IN?:

  • Check out the lecture “What order should I take your courses in?” (available in the Appendix of any of my courses, including the free Numpy course)

Get Started

1
Outline and Motivation
2
Where to get the Code and Data
3
All Data is the Same
4
Plug-and-Play

Bias-Variance Trade-Off

1
Bias-Variance Key Terms
2
Bias-Variance Trade-Off
3
Bias-Variance Decomposition
4
Polynomial Regression Demo
5
K-Nearest Neighbor and Decision Tree Demo
6
Cross-Validation as a Method for Optimizing Model Complexity

Bootstrap Estimates and Bagging

1
Bootstrap Estimation
2
Bootstrap Demo
3
Bagging
4
Bagging Regression Trees
5
Bagging Classification Trees
6
Stacking

Random Forest

1
Random Forest Algorithm
2
Random Forest Regressor
3
Random Forest Classifier
4
Random Forest vs Bagging Trees
5
Implementing a "Not as Random" Forest
6
Connection to Deep Learning: Dropout

AdaBoost

1
AdaBoost Algorithm
2
Additive Modeling
3
AdaBoost Loss Function: Exponential Loss
4
AdaBoost Implementation
5
Comparison to Stacking
6
Connection to Deep Learning
7
Summary and What's Next

Appendix

1
What is the Appendix?
2
Confidence Intervals
3
Windows-Focused Environment Setup 2018
4
How to install Numpy, Scipy, Matplotlib, Pandas, IPython, Theano, and TensorFlow
5
How to Code by Yourself (part 1)
6
How to Code by Yourself (part 2)
7
How to Succeed in this Course (Long Version)
8
Is this for Beginners or Experts? Academic or Practical? Fast or slow-paced?
9
Proof that using Jupyter Notebook is the same as not using it
10
BONUS: Where to get Udemy coupons and FREE deep learning material
11
Python 2 vs Python 3
12
What order should I take your courses in? (part 1)
13
What order should I take your courses in? (part 2)
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.6
4.6 out of 5
689 Ratings

Detailed Rating

Stars 5
440
Stars 4
194
Stars 3
38
Stars 2
10
Stars 1
8
fc0c5a40f5bd3df2a073028804af92b4
30-Day Money-Back Guarantee

Includes

5 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion