简体   繁体   中英

R: caret package: createResample

I am a newbie to both R and Data Sciences -- hope this helps set the stage for my Q .

Why would one want to use createResample function in the caret package and not 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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