Eval intro slides (08) (Đánh giá mô hình, overfitting và underfitting, phân rã bias-variance trong Máy học) - Sebastian Raschka

UN
Uni24h
0 次下载
57
0

资料内容

第 1 页

Lecture 08 Model Evaluation 1: Introduction to Overfitting and Underfitting STAT 479: Machine Learning, Fall 2018 Sebastian Raschka http://stat.wisc.edu/~sraschka/teaching/stat479-fs2018/ Sebastian Raschka STAT 479: Machine Learning FS 2018 1

第 2 页

Overview Bias and Variance Overfitting and Underfitting Basics Holdout method Confidence Intervals Repeated holdout Resampling methods Model Eval Lectures Empirical confidence intervals Hyperparameter tuning Cross-Validation Model selection Algorithm Selection Statistical Tests Evaluation Metrics Sebastian Raschka STAT 479: Machine Learning FS 2018 2

第 4 页

Overfitting and Underfitting "Generalization Performance" • Want a model to "generalize" well to unseen data ("high generalization accuracy" or "low generalization error") Sebastian Raschka STAT 479: Machine Learning FS 2018 4

第 5 页

Overfitting and Underfitting Assumptions • i.i.d. assumption: inputs are independent, and training and test examples are identically distributed (drawn from the same probability distribution) • For some random model that has not been fitted to the training set, we expect both the training and test error to be equal • The training error or accuracy provides an (optimistically) biased estimate of the generalization performance Sebastian Raschka STAT 479: Machine Learning FS 2018 5

第 6 页

Overfitting and Underfitting Model Capacity • Underfitting: both training and test error are large • Overfitting: gap between training and test error (where test error is higher) • Large hypothesis space being searched by a learning algorithm -> high tendency to overfit Sebastian Raschka STAT 479: Machine Learning FS 2018 6

第 8 页

"[...] model has high bias/variance" -- What does that mean? Sebastian Raschka STAT 479: Machine Learning FS 2018 8

第 9 页

"[...] model has high bias/variance" -- What does that mean? Originally formulated for regression Sebastian Raschka STAT 479: Machine Learning FS 2018 9

第 11 页

Bias-Variance Decomposition • Decomposition of the loss into bias and variance help us understand learning algorithms, concepts are correlated to underfitting and overfitting • Helps explain why ensemble methods (last lecture) might perform better than single models Sebastian Raschka STAT 479: Machine Learning FS 2018 11

第 12 页

Bias-Variance Intuition Low Variance High Variance (Precise) (Not Precise) Low Bias(Accurate) High Bias (Not Accurate) Sebastian Raschka STAT 479: Machine Learning FS 2018 12

第 17 页

Bias and Variance Intuition High bias (There are two points where the bias is zero) Sebastian Raschka STAT 479: Machine Learning FS 2018 17

第 18 页

Bias and Variance Intuition High Variance Why? (here, I fit an unpruned decision tree) Sebastian Raschka STAT 479: Machine Learning FS 2018 18

第 19 页

Bias and Variance Example where f(x) is some true (target) function suppose we have multiple training sets Sebastian Raschka STAT 479: Machine Learning FS 2018 19

显示前 19 页。下载资料查看完整内容。

评论 (0)

登录 以加入讨论

暂无评论。快来抢沙发吧!