Machine Learning, Svm.
works for both the above cases when y =-1 or +1 (Just multiplying on either sides by the target value, y (+1 / -1), so that the equation generalizes for classifying both positive and negative classes) From geometry, we know that the perpendicular distance (lets call this as ‘m’ ) from point (x1i,