Linear Discriminant Function and Perceptron