Github user mengxr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1673#discussion_r15667925
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala ---
    @@ -42,8 +42,8 @@ class DecisionTree (private val strategy: Strategy) 
extends Serializable with Lo
     
       /**
        * Method to train a decision tree model over an RDD
    -   * @param input RDD of 
[[org.apache.spark.mllib.regression.LabeledPoint]] used as training data
    -   * @return a DecisionTreeModel that can be used for prediction
    +   * @param input Training data: RDD of 
[[org.apache.spark.mllib.regression.LabeledPoint]]
    +   * @return DecisionTreeModel which can be used for prediction
    --- End diff --
    
    `that` should be correct, and if you want to use `which`, it should be 
`DecisionTreeModel, which ...` (comma before `which`).


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to