Can I random select the amount of data from the matrix dataset that can specify the number of rows. example
A=[1 2 3 4;
5 6 7 8;
9 10 11 12;
13 14 15 16;
17 18 19 20];
I want to random
training_dataset= [1 2 3 4;
13 14 15 16;
5 6 7 8;];
and
testing_dataset= [ 9 10 11 12;
17 18 19 20];
I'm not sure it can be random which is not overlapping?
Thank you so much
Aucun commentaire:
Enregistrer un commentaire