Bias in error estimation when using cross-validation for model selection

分类器(UML) 模式识别(心理学) 支持向量机 质心 统计 计算机科学 交叉验证 数学 Bayes错误率 字错误率 人工智能 数据挖掘 贝叶斯分类器 朴素贝叶斯分类器
作者
Sudhir Varma,Richard Simon
出处
期刊:BMC Bioinformatics [BioMed Central]
卷期号:7 (1): 91-91 被引量:2171
标识
DOI:10.1186/1471-2105-7-91
摘要

BACKGROUND: Cross-validation (CV) is an effective method for estimating the prediction error of a classifier. Some recent articles have proposed methods for optimizing classifiers by choosing classifier parameter values that minimize the CV error estimate. We have evaluated the validity of using the CV error estimate of the optimized classifier as an estimate of the true error expected on independent data. RESULTS: We used CV to optimize the classification parameters for two kinds of classifiers; Shrunken Centroids and Support Vector Machines (SVM). Random training datasets were created, with no difference in the distribution of the features between the two classes. Using these "null" datasets, we selected classifier parameter values that minimized the CV error estimate. 10-fold CV was used for Shrunken Centroids while Leave-One-Out-CV (LOOCV) was used for the SVM. Independent test data was created to estimate the true error. With "null" and "non null" (with differential expression between the classes) data, we also tested a nested CV procedure, where an inner CV loop is used to perform the tuning of the parameters while an outer CV is used to compute an estimate of the error. The CV error estimate for the classifier with the optimal parameters was found to be a substantially biased estimate of the true error that the classifier would incur on independent data. Even though there is no real difference between the two classes for the "null" datasets, the CV error estimate for the Shrunken Centroid with the optimal parameters was less than 30% on 18.5% of simulated training data-sets. For SVM with optimal parameters the estimated error rate was less than 30% on 38% of "null" data-sets. Performance of the optimized classifiers on the independent test set was no better than chance. The nested CV procedure reduces the bias considerably and gives an estimate of the error that is very close to that obtained on the independent testing set for both Shrunken Centroids and SVM classifiers for "null" and "non-null" data distributions. CONCLUSION: We show that using CV to compute an error estimate for a classifier that has itself been tuned using CV gives a significantly biased estimate of the true error. Proper use of CV for estimating true error of a classifier developed using a well defined algorithm requires that all steps of the algorithm, including classifier parameter tuning, be repeated in each CV loop. A nested CV procedure provides an almost unbiased estimate of the true error.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
YW发布了新的文献求助30
刚刚
从容傲柏发布了新的文献求助10
刚刚
刚刚
刚刚
柠檬杨发布了新的文献求助10
1秒前
英俊的铭应助SZH采纳,获得10
1秒前
你好呀发布了新的文献求助10
2秒前
2秒前
2秒前
不安幻梅发布了新的文献求助10
3秒前
搜集达人应助陈敏采纳,获得10
3秒前
唠叨的兔子完成签到,获得积分20
4秒前
4秒前
4秒前
4秒前
淼淼完成签到,获得积分20
4秒前
huanhuanhuan发布了新的文献求助10
5秒前
11111发布了新的文献求助10
5秒前
5秒前
flyingdragon发布了新的文献求助10
5秒前
ding应助呆桃采纳,获得10
7秒前
8秒前
8秒前
Nine发布了新的文献求助10
9秒前
9秒前
9秒前
搜集达人应助FG采纳,获得10
9秒前
所所应助YW采纳,获得30
9秒前
七七发布了新的文献求助10
10秒前
Nitchi发布了新的文献求助30
10秒前
10秒前
啦啦啦完成签到,获得积分10
10秒前
10秒前
枫丶完成签到,获得积分10
10秒前
wanci应助墨雪归青采纳,获得30
11秒前
11秒前
11秒前
冷静的石头完成签到,获得积分10
11秒前
所所应助zyj采纳,获得10
11秒前
13秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Römisch-Germanische Forschungen 1000
APA handbook of comparative psychology: Basic concepts, methods, neural substrate, and behavior 1000
China Pluperfect I: Epistemology of Past and Outside in Chinese Art 520
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
The fast track to determining transfer functions of linear circuits: The student guide 500
The Analytical and Numerical Solution of Electric and Magnetic Fields 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7609725
求助须知:如何正确求助?哪些是违规求助? 9185330
关于积分的说明 19676499
捐赠科研通 7183436
什么是DOI,文献DOI怎么找? 3270328
关于科研通互助平台的介绍 2433976
邀请新用户注册赠送积分活动 2264807