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

    https://github.com/apache/spark/pull/11353#discussion_r54064621
  
    --- Diff: python/pyspark/mllib/tree.py ---
    @@ -305,31 +330,41 @@ def trainClassifier(cls, data, numClasses, 
categoricalFeaturesInfo, numTrees,
             Method to train a decision tree model for binary or multiclass
    --- End diff --
    
    `decision tree model` should be `random forest model` (applies also to 
random forest regression below).
    
    I actually prefer the format in `DecisionTree` above: `Train a random 
forest model for classification.`, i.e. dropping the `Method to` part.


---
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.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to