Github user mengxr commented on a diff in the pull request: https://github.com/apache/spark/pull/1798#discussion_r15854139 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala --- @@ -1334,10 +1519,10 @@ object DecisionTree extends Serializable with Logging { * (a) For multiclass classification with a low-arity feature * (i.e., if isMulticlass && isSpaceSufficientForAllCategoricalSplits), * the feature is split based on subsets of categories. - * There are 2^(maxFeatureValue - 1) - 1 splits. + * There are math.pow(2, (maxFeatureValue - 1) - 1) splits. * (b) For regression and binary classification, * and for multiclass classification with a high-arity feature, - * there is one split per category. + * --- End diff -- Could you help remove this empty line? Thanks!
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org