SVM
kfold
N = 1500; % Number of samples indices = crossvalind('Kfold', train_label, N); for i = 1:N Test = (indices == i); Train = ~Test; SVMStruct = svmtrain(Data_Set (Train,:), train_label (Train,:)); Age = svmclassify(SVMStruct, Data_Set (Test,:)); end
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)