how to use kfold using dividerand function

1 回表示 (過去 30 日間)
sambhav jain
sambhav jain 2020 年 2 月 23 日
編集済み: sambhav jain 2020 年 2 月 23 日
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 Center および File ExchangeGet Started with Statistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by