Add misclasification statistics to trees during training