1
$\begingroup$

In Andew Ng's SVM course notes, the final hard margin optimization problem is given as the following:

enter image description here

I am unclear how to see from this where the 5th constraint is satisfied.

The definition of $g_{i}$ is as follows:

enter image description here

Can anyone help explain?

enter image description here

$\endgroup$
  • $\begingroup$ What does $g_i$ represent? $\endgroup$ – Marc Claesen Nov 21 '14 at 8:22
  • $\begingroup$ The full lecture notes are here: cs229.stanford.edu/notes/cs229-notes3.pdf $\endgroup$ – B_Miner Nov 21 '14 at 13:50
  • $\begingroup$ I added above specifically what is $g_{i}$. $\endgroup$ – B_Miner Nov 21 '14 at 13:54
  • $\begingroup$ I am thinking this constraint (5) that either $a_{i}$ or $g_{i}$ must be zero, has to do with the Lagrangian dual but what I am not seeing is how that constraint is embodied in the optimization problem he has written. $\endgroup$ – B_Miner Nov 21 '14 at 14:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.