필터 지우기
필터 지우기

CVpartition inside CVpartition to decrease dataset siz

조회 수: 2 (최근 30일)
Tomasz Kaczmarski
Tomasz Kaczmarski 2020년 10월 27일
답변: Aditya Patil 2020년 11월 17일
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));

채택된 답변

Aditya Patil
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개)

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by