Machine Learning, Svm.
(x1i, x2i) lies on one side of the line (happens when (x1i, x2i) belongs to y = +1 target class), OR w1*x1i+w2*x2i+w0 < 0 , if (x1i, x2i) lies on another side of the line (happens when (x1i, x2i) belongs to y = -1 target class), Combine both equations into a one: y*(w1*x1i+w2*x2i+w0) > 0, that