简体   繁体   English

R:插入符号包:createResample

[英]R: caret package: createResample

I am a newbie to both R and Data Sciences -- hope this helps set the stage for my Q . 我是R和数据科学的新手-希望这有助于为我的Q奠定基础

Why would one want to use createResample function in the caret package and not createFolds ? 为什么要在插入符号包中使用createResample函数而不是createFolds Wouldn't having repeated selections distort the predictive capabilities of the function? 重复选择是否会扭曲功能的预测能力?

Thanks. 谢谢。

Repeating selections helps removing bias of estimators generated out of the samples. 重复选择有助于消除样本中产生的估计量的偏差。 The point to note however is, these selections are not repeated in ordered. 但是要注意的是,这些选择不按顺序重复。 Randomizing the selection and hence the sample population and generating estimators aims to remove possible training set overfitting. 对选择进行随机化,从而对样本总体进行随机化,并生成估计量,旨在消除可能的训练集过度拟合。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM