Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Email: jiali@stat.psu.edu
http://www.stat.psu.edu/jiali
Jia Li
http://www.stat.psu.edu/jiali
Separating Hyperplanes
Jia Li
http://www.stat.psu.edu/jiali
Jia Li
http://www.stat.psu.edu/jiali
I
I
Jia Li
1
( T x + 0 )
kk
1
f (x) .
0
k f (x) k
Jia Li
http://www.stat.psu.edu/jiali
I
I
I
I
xi +0 )
boundary is yi (kk
.
Denote the set of misclassified points by M.
The goal is to minimize:
X
D(, 0 ) =
yi ( T xi + 0 ) .
iM
Jia Li
http://www.stat.psu.edu/jiali
Jia Li
D(, 0 )
0
yi xi ,
iM
yi .
iM
+
yi xi
yi
.
Jia Li
http://www.stat.psu.edu/jiali
Issues
Jia Li
When the data are separable, there are many solutions, and
which one is found depends on the starting values.
The number of steps can be very large. The smaller the gap,
the longer it takes to find it.
When the data are not separable, the algorithm will not
converge, and cycles develop. The cycles can be long and
therefore hard to detect.
http://www.stat.psu.edu/jiali
I
I
I
subject to
I
Jia Li
1
yi ( T xi + 0 ) C , i = 1, ..., N
kk
Jia Li
http://www.stat.psu.edu/jiali
1
k k2
2
subject to yi ( T xi + 0 ) 1, i = 1, ..., N
I
Jia Li
http://www.stat.psu.edu/jiali
X
1
LP = min k k2
ai [yi ( T xi + 0 ) 1] .
,0 2
i=1
0 =
N
X
i=1
N
X
i=1
Jia Li
http://www.stat.psu.edu/jiali
ai yi xi ,
ai yi .
N
X
i=1
ai
1 XX
ai ak yi yk xiT xk
2
i=1 k=1
subject to ai 0 .
This is a simpler convex optimization problem.
Jia Li
http://www.stat.psu.edu/jiali
Jia Li
http://www.stat.psu.edu/jiali