CVpartition inside CVpartition to decrease dataset siz
1 次查看(过去 30 天)
显示 更早的评论
Hi
My training time is very slow to improve it i got idea to make cv partition inside cv partition
but im not sure how to do it. my code is belows
X = importdata('TrainSet_UCL.csv')
Y = importdata('TargetSet_UCL.csv')
cv = cvpartition(Y,'Holdout',0.3);
Xtrain = X(training(cv),:);
Ytrain = Y(training(cv));
Xtest = X(test(cv),:);
Ytest = Y(test(cv));
0 个评论
采纳的回答
Aditya Patil
2020-11-17
Instead of partitioning dataset again, you can increase the holdout size. Alternately, consider using simpler models or smaller networks.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classification Ensembles 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!