Latest implementation of the perceptron algorithm