Bishop: 4.1.7 The Perceptron Algorithm