Save this video free

Stats 401 - Week 5 - Part 1 of 3

Miles Chen · 1:04:27 · Watch on YouTube

Stats 401 - Week 5 - Part 1 of 3 Watch on YouTube →

Overview

Miles Chen introduces binary classification through logistic regression, showing how the logistic function models class probabilities and how maximum likelihood estimates coefficients. A simulated coronary heart disease example demonstrates odds-ratio interpretation, threshold tradeoffs, confusion matrices, ROC curves and AUC, with R and Python implementations and a cost-based threshold exercise.

Key takeaways

Chapters

0:00 Classification Goals and Access to the ISL Textbook
3:00 Class Labels, Ordinal Variables, and Binary Outcomes
6:30 The Logistic Function Maps Predictors to Probabilities
11:30 Bernoulli Responses and the Binomial GLM
14:30 Maximum Likelihood and Numerical Logistic-Regression Fitting
19:00 Preparing the CHD-by-Age Example with Jitter and Age Bins
25:00 Fitting CHD Logistic Regression in R and Python
29:00 Interpreting Age Effects Through Odds Ratios
36:00 A Ten-Year Age Increase Multiplies CHD Odds by About Three
46:00 The Intercept, Probability Curve, and Classification Thresholds
52:30 ROC Curves and AUC Compare Classifiers Across Thresholds
1:00:40 Multiple Predictors and Choosing a Threshold by Error Cost

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

Transcript excerpt

0:04 Okay. Uh, I have to click. We got it. All right. Okay. I think I think we're okay. All right. Happy Wednesday. Thanks for uh for joining me here. And today we are going to look at uh classification methods. I have no idea. Not I'm not even able to click that. Okay. Well, that's just the uh the camera is going to be up there. Um Okay. Uh all right. Let's uh let's go ahead and take a look. We're going to um we'll start off with logistic regression. You guys are you are taking what 4041

0:55 right now. Okay. So, you haven't done logistic regression yet? Not yet. Okay. I think that'll be in your next class with I you're gonna have linear regression, which I'm intentionally skipping over. And I think logistic regression may or may not be a part of it. So, um we'll spend a little bit of time on that. And then we'll uh we'll talk about other classification methods. We'll look at the B classifier, naive base classifier, and K nearest neighbors. Okay. All right. Let's go ahead and um and take a look. And again um there uh we're using introduction to statistical learning. There's also this uh textbook. I actually haven't tested the link. I think it still works. It it looks like it.

1:45 Yeah. No, we don't want buy this book. We want we want view and download the full book. Yes. Okay. So, if you are connected via the UCLA network, which should be all of you right now, um it should show UCLA library and um and it should say full access. Okay. So, part of your tuition money goes to pay for our library and all of the kind of digital subscriptions that uh that they get. So, you get access to

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, Miles Chen.

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.