[ 
https://issues.apache.org/jira/browse/SPARK-7130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14994307#comment-14994307
 ] 

Bill Chambers commented on SPARK-7130:
--------------------------------------

Looking at this issue, the change needs to occur within the [RandomForest 
File|https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/ml/tree/impl/RandomForest.scala]

Specifically around [lines 
88|https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/ml/tree/impl/RandomForest.scala#L88]
 and 91.

I'd like to submit a pull request but want to make sure that there's nothing 
else I need to be aware of!

> spark.ml RandomForest* should always do bootstrapping
> -----------------------------------------------------
>
>                 Key: SPARK-7130
>                 URL: https://issues.apache.org/jira/browse/SPARK-7130
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 1.4.0
>            Reporter: Joseph K. Bradley
>            Priority: Minor
>
> Currently, spark.ml RandomForest does not do bootstrapping if numTrees = 1.  
> For consistency and a simpler API, it should always do bootstrapping.  The 
> current behavior is an artifact of the old API, in which RandomForest and 
> DecisionTree share the same implementation.  This change should happen after 
> the implementation is moved to spark.ml (which we need to do so that the 
> implementation can be generalized).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to