700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > k层交叉检验(k-flod cross-validation)

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

时间:2022-05-26 09:18:56

相关推荐

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

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

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

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

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

InK-foldcross-validation, the original sample is randomly partitioned intoKsubsamples.Of theKsubsamples, 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 thenrepeatedKtimes (thefolds), with each of theKsubsamplesused exactly once as the validation data. TheKresults 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.

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。