Added decorator, GridPerceptronLearner.