(I will try my best to make this note clearer. We mainly focus on solve_c_svc in this note)
We mainly focus on solve_c_svc in this note.
Our goal:
mindB 12dTB∇2f(αk)dB+∇f(αk)TBdB
s.t. yTBdB=0
Core function of training: solve_c_svc.
It will call the function:
s.Solve(l, SVC_Q(*prob,*param,y), minus_ones, y, alpha, Cp, Cn, param->eps, si, param->shrinking);
Algotirhm 2 of WSS3 (An SMO-type decomposition method using WSS3)
After the initialization (trivial, we will discuss later), the first step is to select the working set B={
i,j} . The chosen i and
The pair satisfies in WSS1:
i∈argmaxt{
−yt∇f(αk)t|t∈Iup(αk)}
j∈argmint