You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2018/01/06 23:01:02 UTC

[jira] [Commented] (SPARK-20498) RandomForestRegressionModel should expose getMaxDepth in PySpark

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

Joseph K. Bradley commented on SPARK-20498:
-------------------------------------------

We'll need to retarget this for 2.4, but I'll mark myself as shepherd to try to make sure it gets in.

> RandomForestRegressionModel should expose getMaxDepth in PySpark
> ----------------------------------------------------------------
>
>                 Key: SPARK-20498
>                 URL: https://issues.apache.org/jira/browse/SPARK-20498
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, PySpark
>    Affects Versions: 2.1.0
>            Reporter: Nick Lothian
>            Assignee: Xin Ren
>            Priority: Minor
>
> Currently it isn't clear hot to get the max depth of a RandomForestRegressionModel (eg, after doing a grid search)
> It is possible to call
> {{regressor._java_obj.getMaxDepth()}} 
> but most other decision trees allow
> {{regressor.getMaxDepth()}} 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org