how to use kfold using dividerand function

1 次查看(过去 30 天)
i need to partion my dataset into three parts which are training , validation(for parameter tuning) and testing. i wish to keep the ratio same for test and validation.
currently i use dividerand function to partion the dataset, which is as follows
[train,vald,test] = dividerand(size(data,1),80,10,10);
is there any way i could apply kfold crossvalidation on top of that?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by