Complete perceptron classifier of hw2