k层交叉检验(k-flod cross-validation)

k层交叉检验(k-flod cross-validation)

当然这个称呼也是随着k值的变化而变化的,如果5-flod  cross-validation就叫做5层交叉检验。

 就是说把原始数据分成k份,选一份做为测试数据,剩下的k-1份做为训练数据。

下面附英文解释(To  foreigner  friends)

In K-foldcross-validation, the original sample is randomly partitioned into K subsamples.Of the Ksubsamples, a single subsample is retained as the validation data for testing the model, and the remaining (K − 1)subsamples are used as training data. The cross-validation process is thenrepeated Ktimes (the folds), with each of the K subsamplesused exactly once as the validation data. The K results fromthe folds then can be averaged (or otherwise combined) to produce a singleestimation. The advantage of this method over repeated random sub-sampling isthat all observations are used for both training and validation, and eachobservation is used for validation exactly once. 10-fold cross-validation iscommonly used.


  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值