Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
2.2.0
-
None
-
None
Description
While Hinge loss is the standard loss function for linear SVM, Squared hinge loss (a.k.a. L2 loss) is also popular in practice. L2-SVM is differentiable and imposes a bigger (quadratic vs. linear) loss for points which violate the margin. Some introduction can be found from http://mccormickml.com/2015/01/06/what-is-an-l2-svm/
Liblinear and scikit learn both offer squared hinge loss as the default loss function for linear SVM.
Attachments
Issue Links
- is related to
-
SPARK-20602 Adding LBFGS optimizer and Squared_hinge loss for LinearSVC
- Resolved
- relates to
-
SPARK-20503 ML 2.2 QA: API: Python API coverage
- Resolved
- links to