We are now ready to return to our setup of the optmization problem for a more realistic case. Introducint the slack parameter C we have 12λT[y1y1K(x1,x1)y1y2K(x1,x2)……y1ynK(x1,xn)y2y1K(x2,x1)y2y2K(x2,x2)……y1ynK(x2,xn)…………………………yny1K(xn,x1)yny2K(xnx2)……ynynK(xn,xn)]λ−Iλ, subject to yTλ=0. Here we defined the vectors λ=[λ1,λ2,…,λn] and y=[y1,y2,…,yn]. With the slack constants this leads to the additional constraint 0≤λi≤C.
code will be added