AveragePerceptron notes