Hello guys, how could I divide a clinical dataset into training and testing datasets using cross-validation?
Have you looked this ?
Apart from that, do you have to use just MATLAB, you can find more help or documentation if you use python or R.
@arta yes, I already checked that link but didn't get what i want.
My data is a matrix of 359 rows and 5 columns but when i applied that code on the link you proposed i got 2 datasets but with only one column on each.However, my goal is to find 2 subsets of training and testing sets with random rows but 5 columns
I'm more familiar with MATLAB.
My inputs were a matrix of 359*5
My expected outputs
Well, technically it should work. Quick and dirty solution can be transposing the data before applying the function or you can check this link that i have found.
Login before adding your answer.
Use of this site constitutes acceptance of our User Agreement and Privacy