Save this video free

Lecture 3b

Prof. Schniter · 54:50 · Watch on YouTube

Lecture 3b Watch on YouTube →

Overview

The lecture reviews polynomial-model selection and cross-validation, showing how training error favors overly complex models while held-out error helps balance underfitting and overfitting. It then reviews probability tools needed for statistical learning, including random variables, expectation, variance, and conditional expectation, and sets up a model in which training data makes fitted coefficients random and test MSE is averaged over test noise and coefficient variability.

Key takeaways

Chapters

0:00 Polynomial Overfitting, Cross-Validation, and the One-Standard-Error Rule
9:46 Training, Test, and Validation Data Have Different Jobs
14:43 From Polynomial Order to the Bias-Variance Trade-Off
18:36 Random Variables, Realizations, PMFs, and PDFs
26:40 Expectation and Its Linearity and Independence Rules
33:12 Statistical Variance and Conditional Expectation
40:41 Independence Shortcuts and the Law of Total Expectation
46:03 The True Data-Generating Model and Its Noise Assumptions
49:29 Why Fitted Coefficients Are Random Variables
51:55 Conditional Statistical MSE: Averaging Over Noise and Training

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

Transcript excerpt

0:02 Okay. Uh hope you guys had a good weekend. Uh let's get started by reviewing what we did last time. So we were talking about [clears throat] sort of motivated by this problem of polomial modeling. We have an option for how uh we choose the polomial order. We can choose a low order um which gives us a simple model like if we choose d equals 1 that gives us a linear model or we can choose a high order such as like 15th order polinomial and in this particular um example the data comes from a cubic model and so when we choose a linear model which is simpler than the true cubic data generating model we are underfitting which means means we're using an overly

0:50 simplistic model relative to the truth. When we use D equ= 15, we overfit, [clears throat] which means our prediction model is a lot more complicated than it needs to be. And when we underfit, uh we cannot really capture the true shape of the of the data. um when we overfit we end up capturing things about the data that are more like noise and other random aspects of it rather than the true data generating model which is this cubic uh polomial here. [clears throat] So um this is just sort of some extremes. In general we want to choose we want to somehow determine from the data itself the right complexity of the model the model that comes closest to uh

1:39 the complexity of the true data generating model. [clears throat] So uh we said that the way to do that is to use something called cross validation. uh because if you um just look at the training data alone and you look at a training data metric something like RSS

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.