Eval ci slides (09) (Đánh giá mô hình, tập trung vào khoảng tin cậy) - Sebastian Raschka
正在生成预览...
Slide bài giảng về đánh giá mô hình, tập trung vào khoảng tin cậy, thuộc khóa học STAT 479: Machine Learning.
描述
Lecture 09 Model Evaluation 2: Confidence Intervals 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 Overview Bias and Variance Basics Overfitting and Underfitting This Lecture Holdout method Confidence Intervals Model Eval Lectures Repeated holdout Resampling methods Empirical confidence intervals Hyperparameter tuning Cross-Validation Model selection Algorithm Selection Statistical Tests Evaluation Metrics Sebastian Raschka STAT 479: Machine Learning FS 2018 2 Concepts first (More) Code at the end of the lecture Sebastian Raschka STAT 479: Machine Learning FS 2018 3 Main points why we evaluate the predictive performance of a model: 1. Want to estimate the generalization performance, the predictive performance of our model on future (unseen) data. 2. Want to increase the predictive performance by tweaking the learning algorithm and selecting the best performing model from a given hypothesis space. 3. Want to identify the ML algorithm that is best-suited for the problem at hand; thus, we want to compare different algorithms, selecting the best-performing one as well as the best performing model from the algorithm’s hypothesis space. Sebastian Raschka STAT 479: Machine Learning FS 2018 4 Training set error is an optimistically biased estimator of the generalization error Test set error is an unbiased estimator of the generalization error (test sample and hypothesis chosen independently) (in practice, it is actually pessimistically biased; why?) Sebastian Raschka STAT 479: Machine Learning FS 2018 5 Training Evaluation 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 Holdout Method 2-Fold Cross-Validation 1 2 3 4 5 6 7 8 9 10 Sebastian Raschka STAT 479: Machine Learning FS 2018 6 Often using the holdout method is not a good idea ... Sebastian Raschka STAT 479: Machine Learning FS 2018 7 Often
AI 摘要
- 文档名称
- Eval ci slides (09) (Đánh giá mô hình, tập trung vào khoảng tin cậy) - Sebastian Raschka
- 学校 / 课程
- University Wisconsin-Madison · Machine learning
- 作者(文档中)
- Sebastian Raschka
- 内容
- Bài giảng này giới thiệu về đánh giá mô hình học máy, tập trung vào khoảng tin cậy và các phương pháp như Holdout. Nó chỉ ra những hạn chế của phương pháp Holdout, đặc biệt là ảnh hưởng của việc lấy mẫu con lên tính đại diện của dữ liệu.
- 目录
- Lecture 09
- Model Evaluation 2: Confidence Intervals
- STAT 479: Machine Learning, Fall 2018
- Sebastian Raschka
- Overview
- Bias and Variance
- Basics
- Overfitting and Underfitting
- This Lecture
- Holdout method
- Confidence Intervals
- Model Eval Lectures
- Repeated holdout
- Resampling methods
- Empirical confidence intervals
- Hyperparameter tuning
- Cross-Validation
- Model selection
- Algorithm Selection
- Statistical Tests
- Evaluation Metrics
- Main points why we evaluate the predictive performance of a model:
- Training set error is an optimistically biased estimator of the generalization error
- Test set error is an unbiased estimator of the generalization error (test sample and hypothesis chosen independently)
- (in practice, it is actually pessimistically biased; why?)
- Holdout Method
- 2-Fold Cross-Validation
- Often using the holdout method is not a good idea ...
- Test set error as generalization error estimator is pessimistically biased (not so bad)
- But it does not account for variance in the training data (bad)
- Why is pessimistic bias not "so bad"?
- Suppose we have the following ranking based on accuracy:
- Often using the holdout method is not a good idea ...
- Test set error as generalization error estimator is pessimistically biased (not so bad)
- Does not account for variance in the training data (bad)
- We have to keep in mind that a dataset represents a random sample drawn from a probability distribution, and we typically assume that this sample is representative of the true population – more or less. Now, further subsampling without replacement alters the statistic (mean, proportion, and variance) of the sample. The degree to which subsampling without replacement affects the statistic of a sample is inversely proportional to the size of the sample. Let us have a look at an example using the Iris dataset 1 , which we randomly divide into 2/3 training data and 1/3 test data as illustrated in Figure 1. (The source code for generating this graphic is available on GitHub2 .)
- Issues with Subsampling (Independence violation)
- All samples (n = 150)
- Training samples (n = 100)
- Test samples (n = 50)
- Figure 1: Distribution of Iris flower classes upon random subsampling into training and test sets.
- The Iris dataset consists of 50 Setosa, 50 Versicolor, and 50 Virginica flowers; the flower species are distributed uniformly:
- 33.3% Setosa
- 33.3% Versicolor
- 页数
- 51 页
- 上传者
- Uni24h
常见问题
此文档免费吗?
是的。“Eval ci slides (09) (Đánh giá mô hình, tập trung vào khoảng tin cậy) - Sebastian Raschka”是免费的 — 只需登录并点击“下载”即可获取原始文件。
这份文档有多少页?
该文档共有 51 页,适用于课程 Machine learning。您可以在下载前进行在线预览。
我可以在下载前预览吗?
是的。您可以通过在线阅读器直接在本页面预览此文档,然后再决定是否下载。
Eval ci slides (09) (Đánh giá mô hình, tập trung vào khoảng tin cậy) - Sebastian Raschka
正在生成预览...
Lecture 09 Model Evaluation 2: Confidence Intervals 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 Overview Bias and Variance Basics Overfitting and Underfitting This Lecture Holdout method Confidence Intervals Model Eval Lectures Repeated holdout Resampling methods Empirical confidence intervals Hyperparameter tuning Cross-Validation Model selection Algorithm Selection Statistical Tests Evaluation Metrics Sebastian Raschka STAT 479: Machine Learning FS 2018 2 Concepts first (More) Code at the end of the lecture Sebastian Raschka STAT 479: Machine Learning FS 2018 3 Main points why we evaluate the predictive performance of a model: 1. Want to estimate the generalization performance, the predictive performance of our model on future (unseen) data. 2. Want to increase the predictive performance by tweaking the learning algorithm and selecting the best performing model from a given hypothesis space. 3. Want to identify the ML algorithm that is best-suited for the problem at hand; thus, we want to compare different algorithms, selecting the best-performing one as well as the best performing model from the algorithm’s hypothesis space. Sebastian Raschka STAT 479: Machine Learning FS 2018 4 Training set error is an optimistically biased estimator of the generalization error Test set error is an unbiased estimator of the generalization error (test sample and hypothesis chosen independently) (in practice, it is actually pessimistically biased; why?) Sebastian Raschka STAT 479: Machine Learning FS 2018 5 Training Evaluation 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 Holdout Method 2-Fold Cross-Validation 1 2 3 4 5 6 7 8 9 10 Sebastian Raschka STAT 479: Machine Learning FS 2018 6 Often using the holdout method is not a good idea ... Sebastian Raschka STAT 479: Machine Learning FS 2018 7 Often
阅读全文
- 文档名称
- Eval ci slides (09) (Đánh giá mô hình, tập trung vào khoảng tin cậy) - Sebastian Raschka
- 学校 / 课程
- University Wisconsin-Madison · Machine learning
- 作者(文档中)
- Sebastian Raschka
- 内容
- Bài giảng này giới thiệu về đánh giá mô hình học máy, tập trung vào khoảng tin cậy và các phương pháp như Holdout. Nó chỉ ra những hạn chế của phương pháp Holdout, đặc biệt là ảnh hưởng của việc lấy mẫu con lên tính đại diện của dữ liệu.
- 目录
- Lecture 09
- Model Evaluation 2: Confidence Intervals
- STAT 479: Machine Learning, Fall 2018
- Sebastian Raschka
- Overview
- Bias and Variance
- Basics
- Overfitting and Underfitting
- This Lecture
- Holdout method
- Confidence Intervals
- Model Eval Lectures
- Repeated holdout
- Resampling methods
- Empirical confidence intervals
- Hyperparameter tuning
- Cross-Validation
- Model selection
- Algorithm Selection
- Statistical Tests
- Evaluation Metrics
- Main points why we evaluate the predictive performance of a model:
- Training set error is an optimistically biased estimator of the generalization error
- Test set error is an unbiased estimator of the generalization error (test sample and hypothesis chosen independently)
- (in practice, it is actually pessimistically biased; why?)
- Holdout Method
- 2-Fold Cross-Validation
- Often using the holdout method is not a good idea ...
- Test set error as generalization error estimator is pessimistically biased (not so bad)
- But it does not account for variance in the training data (bad)
- Why is pessimistic bias not "so bad"?
- Suppose we have the following ranking based on accuracy:
- Often using the holdout method is not a good idea ...
- Test set error as generalization error estimator is pessimistically biased (not so bad)
- Does not account for variance in the training data (bad)
- We have to keep in mind that a dataset represents a random sample drawn from a probability distribution, and we typically assume that this sample is representative of the true population – more or less. Now, further subsampling without replacement alters the statistic (mean, proportion, and variance) of the sample. The degree to which subsampling without replacement affects the statistic of a sample is inversely proportional to the size of the sample. Let us have a look at an example using the Iris dataset 1 , which we randomly divide into 2/3 training data and 1/3 test data as illustrated in Figure 1. (The source code for generating this graphic is available on GitHub2 .)
- Issues with Subsampling (Independence violation)
- All samples (n = 150)
- Training samples (n = 100)
- Test samples (n = 50)
- Figure 1: Distribution of Iris flower classes upon random subsampling into training and test sets.
- The Iris dataset consists of 50 Setosa, 50 Versicolor, and 50 Virginica flowers; the flower species are distributed uniformly:
- 33.3% Setosa
- 33.3% Versicolor
- 页数
- 51 页
- 上传者
- Uni24h
评论 (0)
暂无评论。快来抢沙发吧!
Eval algo notes (11) (Các kiểm định thống kê và so sánh thuật toán) - Sebastian Raschka
Refresher probabilities statistics (Xác suất và thống kê cho Machine Learning) - Afshine Amidi and Shervine Amidi
Ensembles notes (07) (Các phương pháp học ensemble) - Sebastian Raschka
Super cheatsheet machine learning (Khái niệm và công thức chính trong học máy) - Afshine Amidi and Shervine Amidi
Cheatsheet Deep Learning (Khái niệm chính về học sâu) - Afshine Amidi and Shervine Amidi
Chương 7.Cơ học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 6.Quang học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 5.Thuyết tương đối - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 4. Tán xạ ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 3.Phân cực ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
评论 (0)
暂无评论。快来抢沙发吧!