Metrics for mlpack perceptron and decision_stump methods