Because SVM learning is guaranteed to converge to a single global
solution, the algorithm itself is fairly simple. Our implementation
follows the formulation of [Jaakkola et al., 1998]. This
approach differs slightly from that of
[Vapnik, 1998], although the geometric
interpretation remains the same. Let
be a set of training examples, and
be the
corresponding set of classifications, where yi = 1 if
is a member of the class to be learned, and yi = -1 otherwise.
Define the discriminant function
![]() |
(4) |
| = | ![]() |
(5) | |
| = | ![]() |
(6) |
The output of the SVM learning algorithm is the optimized set of
weights
.
The class of a new input vector
is then given by the sign of the discriminant
computed using the optimized weights.3