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?

Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 23 Feb. 2020

Bearbeitet:

am 23 Feb. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by