g(z) = 1 when z >=0
g(z) = -1 otherwise
So basically classifier is perceptron algorithm
Large positive functional margin = confident and correct prediction
If ||w|| = 1, we have functional margin.
Where S is training set,
(the smallest of the margins on the individual training examples)