Decision stump and perceptron with metrics (mlpack)