I was trying to build a classifier for a set of documents using a support vector machine. I choose to build the feature space using term occurrence. While experimenting, I found the following scenario: When removing stop words, the svm-based classifier was successfully built; otherwise, when keeping stop words, the SVM just could not be built and I got an error message “no support vector can be found”. I am very confused about this scenario. What might be the possible reason for this scenario?

  • $\begingroup$ Which package/toolbox/program are you using? Have you looked up the error message in the documentation? $\endgroup$ – emrea Aug 23 '12 at 20:54
  • $\begingroup$ I used SAS enterprise miner. The error message is "no support vector found". $\endgroup$ – user785099 Aug 24 '12 at 0:47
  • $\begingroup$ Unfortunately, I don't have any experience with that program. $\endgroup$ – emrea Aug 24 '12 at 2:44

It sounds like you might be doing "hard-margin" SVM. In this paradigm, I believe a support vector will only be found if perfect linearly separating hyperplane can be found in the data. Maybe try doing soft-margin SVM, which allows for errors (keep in mind that this approach adds a cost parameter you'll probably have to optimize in cross-validation, if you don't just use default settings).

| cite | improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.