MATLAB: 10 fold cross Validation without using existing functions
问题 I have a matrix (I guess in MatLab you call it a struct) or data structure: data: [150x4 double] labels: [150x1 double] here is out my matrix.data looks like assume I do load my file with the name of matrix: 5.1000 3.5000 1.4000 0.2000 4.9000 3.0000 1.4000 0.2000 4.7000 3.2000 1.3000 0.2000 4.6000 3.1000 1.5000 0.2000 5.0000 3.6000 1.4000 0.2000 5.4000 3.9000 1.7000 0.4000 4.6000 3.4000 1.4000 0.3000 5.0000 3.4000 1.5000 0.2000 4.4000 2.9000 1.4000 0.2000 4.9000 3.1000 1.5000 0.1000 5.4000 3