Info

This question is closed. Reopen it to edit or answer.

how to disply all the columns from dataset

2 views (last 30 days)
priyanka gaikwad
priyanka gaikwad on 14 Mar 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
I have a total 25 columns in tha dataset and 2000 rows. When I am applying crossvalidation on it it display the only one column. I am running this code it display single column data
data= load('WUILWindows.txt');
CVO = cvpartition(2616,'k',5);
for i = 1:CVO.NumTestSets
trIdx = CVO.training(i);
teIdx = CVO.test(i);
end
traindata = data( trIdx);
testdata = data ( teIdx);

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!