Test averaged perceptron