Following the example from the official documentation, I am at this point in training a DecisionTree classifier:
arma::rowvec weights = arma::randu