You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "zhengruifeng (Jira)" <ji...@apache.org> on 2020/01/23 08:49:00 UTC
[jira] [Resolved] (SPARK-30543) RandomForest add Param bootstrap to
control sampling method
[ https://issues.apache.org/jira/browse/SPARK-30543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhengruifeng resolved SPARK-30543.
----------------------------------
Resolution: Resolved
> RandomForest add Param bootstrap to control sampling method
> -----------------------------------------------------------
>
> Key: SPARK-30543
> URL: https://issues.apache.org/jira/browse/SPARK-30543
> Project: Spark
> Issue Type: Improvement
> Components: ML, PySpark
> Affects Versions: 3.0.0
> Reporter: zhengruifeng
> Assignee: zhengruifeng
> Priority: Minor
>
> Current RF with numTrees=1 will directly build a tree using the orignial dataset,
> while with numTrees>1 it will use bootstrap samples to build trees.
> This design is to train a DecisionTreeModel by the impl of RandomForest, however, it is somewhat strange.
> In Scikit-Learn, there is a param bootstrap to control bootstrap samples are used.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org