arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.00718stat.MLcs.LGstat.CO
收藏

什么时候打假球?交叉验证之前和期间的插补

When to Impute? Imputation before and during cross-validation

University of Alabama at Birmingham(阿拉巴马大学伯明翰分校);Monash University(蒙纳士大学);University of Washington(华盛顿大学)

Byron C. Jaeger, Nicholas J. Tierney, Noah R. Simon

摘要:

交叉验证(CV)是一种用于估计预测模型泛化误差的技术。对于管道建模算法(即具有多个步骤的建模程序),建议在CV的每次重复过程中执行整个步骤序列,以模拟整个管道应用于外部测试集。虽然理论上合理,但当管道建模算法包括计算上昂贵的操作(例如缺失值的填补)时,遵循此建议可能导致高计算成本。人们普遍认为,在进行CV之前可以应用无监督变量选择(即忽略结果)而不会产生偏倚,但对于缺失值的无监督插补,共识较少。我们根据经验评估了在CV之前进行无监督插补是否会导致泛化误差的有偏估计或导致选择不当的调整参数,从而降低下游模型的外部性能。结果表明,尽管存在乐观偏倚,但与CV每次重复期间的插补相比,CV之前的插补方差降低,导致真实外部R平方估计的总均方根均方误差较低,并且使用CV进行调整的模型性能与每次重复期间相比差异极小。总之,CV之前的无监督插补在某些情况下是有效的,可能是一种有用的策略,使分析师能够使用更灵活的插补技术,而不会产生高的计算成本。

英文摘要:

Cross-validation (CV) is a technique used to estimate generalization error for prediction models. For pipeline modeling algorithms (i.e. modeling procedures with multiple steps), it has been recommended the entire sequence of steps be carried out during each replicate of CV to mimic the application of the entire pipeline to an external testing set. While theoretically sound, following this recommendation can lead to high computational costs when a pipeline modeling algorithm includes computationally expensive operations, e.g. imputation of missing values. There is a general belief that unsupervised variable selection (i.e. ignoring the outcome) can be applied before conducting CV without incurring bias, but there is less consensus for unsupervised imputation of missing values. We empirically assessed whether conducting unsupervised imputation prior to CV would result in biased estimates of generalization error or result in poorly selected tuning parameters and thus degrade the external performance of downstream models. Results show that despite optimistic bias, the reduced variance of imputation before CV compared to imputation during each replicate of CV leads to a lower overall root mean squared error for estimation of the true external R-squared and the performance of models tuned using CV with imputation before versus during each replication is minimally different. In conclusion, unsupervised imputation before CV appears valid in certain settings and may be a helpful strategy that enables analysts to use more flexible imputation techniques without incurring high computational costs.

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

↑