Diagram on the perceptron