CVpartition inside CVpartition to decrease dataset siz
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Tomasz Kaczmarski
il 27 Ott 2020
Risposto: Aditya Patil
il 17 Nov 2020
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 Commenti
Risposta accettata
Aditya Patil
il 17 Nov 2020
Instead of partitioning dataset again, you can increase the holdout size. Alternately, consider using simpler models or smaller networks.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Classification Ensembles in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!