You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xin Ren (JIRA)" <ji...@apache.org> on 2017/03/14 07:06:41 UTC

[jira] [Commented] (SPARK-19282) RandomForestRegressionModel summary should expose getMaxDepth

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

Xin Ren commented on SPARK-19282:
---------------------------------

Hi Nick, just double check I understand you correctly, you'd like to expose parameter `maxDepth` for python module too, right?

> RandomForestRegressionModel summary should expose getMaxDepth
> -------------------------------------------------------------
>
>                 Key: SPARK-19282
>                 URL: https://issues.apache.org/jira/browse/SPARK-19282
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, PySpark, SparkR
>    Affects Versions: 2.1.0
>            Reporter: Nick Lothian
>            Assignee: Xin Ren
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> 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.3.15#6346)

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