Clear Filters
Clear Filters

how to use kfold using dividerand function

1 view (last 30 days)
sambhav jain
sambhav jain on 23 Feb 2020
Edited: sambhav jain on 23 Feb 2020
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?

Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!