Solved – c-classification SVM vs nu-classification SVM in e1071 R

classificatione1071machine learningrsvm

When should I use c-svm and when nu-svm?
I have read that "The range of C is from zero to infinity, but nu is always between [0,1]", but I couldn't understand anything from this.

What is the range here?

If I have a binary classification with all my dependents being numerics what should I prefer? If I have multinominal classification with mixed independent variables what should I prefer?

Best Answer

I once asked a question very similar to your: Difference between the types of SVM.

Here is the relevant part of the answer.

C-classification and nu-classification is for binary classification usage. Say if you want to build a model to classify cat vs. dog based on features for animals, i.e., prediction target is a discrete variable/label.

For details about difference between C-classification and nu-classification. You can find in the FAQ from LIBSVM

Q: What is the difference between nu-SVC and C-SVC?

Basically they are the same thing, but with different parameters. The range of C is from zero to infinity but nu is always between [0,1]. A nice property of nu is that it is related to the ratio of support vectors and the ratio of the training error.


The same question as yours has been already asked on quora. There I found the following answer which relates to your comment.

C ranges from 0 to infinity and can be a bit hard to estimate and use. A >modification to this was the introduction of nu which operates between 0-1 >and represents the lower and upper bound on the number of examples that >are support vectors and that lie on the wrong side of the hyperplane.