Margin for a linear separator

Suppose we have a set of linearly separable points such that and separate them. We define the margin of the hyperplane with respect to to be In other words this is the smallest distance from a point in to the hyperplane .