Save this video free

Lecture 8a

Prof. Schniter · 15:11 · Watch on YouTube

Lecture 8a Watch on YouTube →

Overview

Ensemble methods improve prediction by combining multiple weak learners: under the assumption of independent errors, majority voting across 31 classifiers that are each 70% accurate can reach about 99% accuracy. The lecture compares hard and soft voting, explains how diversity can come from different training samples, features, or model types, and details pasting, bootstrap aggregating (bagging), random patches, and random subspaces, including their scikit-learn options.

Key takeaways

Chapters

0:00 Independent Weak Learners Turn Majority Voting into a Strong Ensemble
4:06 Soft Voting and Three Ways to Create Predictor Diversity
8:20 Pasting, Bagging, and Feature-Based Randomization in scikit-learn

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

Transcript excerpt

0:01 Hello everyone, we're going to start a new unit uh unit eight on ensemble methods and decision trees. So uh for intuition about what these [clears throat] ensemble methods are is that suppose that you want to determine the heavy side of a biased coin. Um you want to know if it's heads or tails. And although you don't know this, uh let's say that heads occurs 70% of the time and tails occurs 30% of the time. So [clears throat] to predict the heavy side of the coin you would flip it n times and choose the majority vote. So let's say you just flipped it once because heads occurs

0:48 70% of the time uh the majority vote would be, you know, whatever whatever you got and so you'd be correct 70% of the time. But if you had um flipped it 11 times and chosen [snorts] the majority vote then you'd find you'd be correct with 92% probability. And if you flipped it 21 times you'd be uh correct 97% of the time and if you flipped it 31 times, took the majority vote, you'd be correct 99% of the time. >> [clears throat] >> Okay, so these numbers can be computed from the CDF of the binomial distribution. Um but basically the trend that you see here is if you um choose the majority vote from, you know,

1:38 more and more coin flips you would um get a steadily increasing probability of correctly identifying the heavy side of this biased coin. Okay, so um even though this is about you know, coin flips, the analogy in machine learning is binary classification. So, let's say we have 31 binary classifiers, and let's say that each one of these binary classifiers is correct only 70% of the time. So, you know,

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.