I am trying to make a prediction model using SVM in MATLAB, but i am getting an error "Group must be a vector." on the following line

model = svmtrain(output_data.Y, inout_data.X, param.libsvm);

I have already added the path of LibSVM using setpath.

Can anyone advise me on this issue? Thanks for the help in advance.

Similar questions and discussions