how to use kfold using dividerand function

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 Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 23 Feb 2020

Edited:

on 23 Feb 2020

Community Treasure Hunt

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

Start Hunting!