Save this video free

Lecture 8c

Prof. Schniter · 1:05:06 · Watch on YouTube

Lecture 8c Watch on YouTube →

Overview

Prof. Schniter explains sequential boosting through AdaBoost, gradient boosting, and XGBoost, contrasting them with parallel random forests. He derives how AdaBoost reweights misclassified examples, how gradient boosting fits negative loss gradients, and how XGBoost adds second-order loss approximations and tree regularization, then covers implementation, feature importance, and course guidance.

Key takeaways

Chapters

0:00 Random Forests Versus Sequential Boosting
2:54 AdaBoost Builds a Weighted Ensemble for Binary Classification
7:30 AdaBoost Derives Its Weighted Misclassification Objective
20:00 AdaBoost Stumps and Scikit-learn Defaults
24:36 Gradient Boosting Fits Negative Loss Gradients
35:00 Gradient Boosting Learning Rates and Regression Trees
38:30 XGBoost Adds Second-Order Updates and Regularization
42:30 XGBoost Taylor Expansion Produces a Quadratic Objective
46:00 XGBoost Regularizes Leaf Values and Tree Size
50:00 XGBoost Selects Splits by Regularized Loss Reduction
53:40 XGBoost Python API and Tree-Model Tuning
55:52 Random Forest and XGBoost Feature Importance
59:47 Permutation Importance and Course Wrap-Up

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:01 Okay, we're going to continue our discussion of ensemble methods and trees. So, last time we talked about um when we talked about ensembling, we talked about decision trees, and then we put them together to create random forests. So, random forest, if you remember, is an ensemble of trees um where you use a random subset of data to train each tree and a random subset of features at each split in each trees in each tree, and then um the tree predictions are all combined or the you know, those those weak learners are combined. Um and basically, we can think of this as a parallel method because you can train each tree simultaneously

0:50 um all in parallel and then just combine them when you're done. So, what we're going to talk about now is boosting. And boosting, instead of a parallel approach, is a sequential approach. Um >> [clears throat] >> These are ensemble methods um typically done with trees uh also called boosting. So, um we're going to talk about three um particular types of boosting methods. One is called AdaBoost. The next, gradient boosting. And finally, um more recent method called extreme gradient boosting or XGBoost. The overall um

1:39 idea behind >> [snorts] >> these methods can be shown here. So, you start with a data set. You train your model, in this case, some sort of a tree. Uh you look at how um you know, how well it it's done according to some uh training errors and wherever you um see errors, you increase the weight on those errors and you say, "Okay, now let's retrain this this model, this tree um with a higher weight on those errors. So, let's make sure that it doesn't make the same mistakes again." And then, you know, you test that

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Prof. Schniter.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.