For and , a linear support vector machine predictsOne penalized formulation minimizes empirical hinge loss plus a squared Euclidean norm penalty:Conventions often leave the intercept unpenalized, replacing by ; this does not change the role of the two terms.
A separating hyperplane for signed data satisfies for every ; its geometric set is . The plot marks three support vectors. At the shown fit they lie on the two support-vector-machine margin boundaries, so their signed functional margins satisfyThe solid line is the decision hyperplane , while the dashed parallel lines are and .
If , every parameter vector with all margins at least one has zero hinge loss. Scaling or changing a separating vector can therefore give another minimizer, so the objective need not select the displayed maximum-margin direction or the same three lines. Positive quadratic regularization selects a finite, minimum-norm compromise.
This is a normalized perceptron algorithm. Because , an update on a misclassified point obeysHere the two inequalities use the update condition and the assumed unit margin . A squared distance cannot become negative, so there can be at most updates. The algorithm then returns a vector that correctly separates every training point. The estimate is the comparison vector for the proof; without an additional uniqueness condition the returned separator need not equal that particular vector.
A binary logistic regression setsand classifies by the sign of . Its unpenalized maximum-likelihood estimator minimizes the empirical logistic lossThe plotted data are complete separation data: there is a vector with every signed margin . For every finite , increasing strictly decreases each term of , and as . No finite parameter attains zero, so the unpenalized optimization has no solution.
Adding an penalty with , constraining , or using a finite stopping rule makes the problem attain a finite approximate solution. The penalized option is preferable because cross-validation can select the strength of regularization.
Articles by others on the same topic
There are currently no matching articles.