Github user manishamde commented on a diff in the pull request: https://github.com/apache/spark/pull/886#discussion_r13982468 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/DecisionTreeRunner.scala --- @@ -49,6 +49,7 @@ object DecisionTreeRunner { case class Params( input: String = null, algo: Algo = Classification, + numClassesForClassification: Int = 2, --- End diff -- Inference from a large dataset could take a lot of time. In general, most practitioners know in advance. If not, we can add a pre-processing step. Currently we have only ```numClassesForClassification``` as a classification specific parameter. In general, I agree with you. At the same time, didn't want to create more configuration classes for the user. Shall we leave it as is for now and handle it with the ensembles PR where we have more parameters (boosting iterations, num trees, feature subsetting, etc.) ?
--- 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. ---