# Regarding 0-1 loss and hinge loss functions of SVM

I would like to ask about SVM. I want to compare between 0-1 loss and hinge loss functions. My question is how to compare between them?!. Should we construct different SVM models, which each for particular loss function?! or just construct one SVM and evaluate the SVM model by 0-1 loss and hinge loss. I confused whether loss function should include in the process of construction SVM model or not.

• In hard-margin svm, there maybe no solution at all, and you're only interested in the margin part, i.e. minimizing $||w||$. Since the cost of misclassification, $C$, is infinity in hard-margin svm, there is no difference if you use hinge or something else. – gunes Jan 19 at 10:16