error in svm train
1 view (last 30 days)
Show older comments
Error using svmtrain (line 267) TRAINING and Y must both contain at least one row with no missing values.
Error in signaltrain (line 213) SVMSTRUCT = svmtrain(Fsig, label1);
7 Comments
Walter Roberson
on 2 Apr 2016
You might run into problems if your label1 has any 0 values, unless label1 is type "logical". If you have some entries whose group is undefined then you should use label1 NaN for them -- but you will need to have at least one row whose group is not NaN.
Answers (0)
See Also
Categories
Find more on Classification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!