supervised perceptron classify src