arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.09446cs.LGstat.ML
收藏

在选择分类器时,嵌套交叉验证对于大多数实际应用来说过于热心

Nested cross-validation when selecting classifiers is overzealous for most practical applications

University of Campinas(坎皮纳斯大学);University of East Anglia(东英吉利大学)

Jacques Wainer, Gavin Cawley

摘要:

当选择要应用于特定问题的分类算法时,必须同时选择该数据集的最佳算法\emph{and}和所选模型的最佳超参数集。通常的方法是应用嵌套交叉验证过程;在内部交叉验证中执行超参数选择,而外部交叉验证计算算法\emph{with cross-validation based hyperparameter tuning}的预期准确度的无偏估计。另一种方法,我们称之为“平面交叉验证”,使用一个单一的交叉验证步骤来选择最佳超参数值,并提供算法的预期准确度的估计,尽管有偏差,但仍然可以用于选择最佳学习算法。我们使用12种不同的算法对115个真实生活中的二进制数据集进行了测试,并得出结论,使用计算成本较低的平面交叉验证程序通常会导致选择一种算法,该算法对于所有实际目的而言,与通过嵌套交叉验证选择的算法具有相似的质量,前提是学习算法具有相对较少的超参数进行优化。

英文摘要:

When selecting a classification algorithm to be applied to a particular problem, one has to simultaneously select the best algorithm for that dataset \emph{and} the best set of hyperparameters for the chosen model. The usual approach is to apply a nested cross-validation procedure; hyperparameter selection is performed in the inner cross-validation, while the outer cross-validation computes an unbiased estimate of the expected accuracy of the algorithm \emph{with cross-validation based hyperparameter tuning}. The alternative approach, which we shall call `flat cross-validation', uses a single cross-validation step both to select the optimal hyperparameter values and to provide an estimate of the expected accuracy of the algorithm, that while biased may nevertheless still be used to select the best learning algorithm. We tested both procedures using 12 different algorithms on 115 real life binary datasets and conclude that using the less computationally expensive flat cross-validation procedure will generally result in the selection of an algorithm that is, for all practical purposes, of similar quality to that selected via nested cross-validation, provided the learning algorithms have relatively few hyperparameters to be optimised.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑