[ https://issues.apache.org/jira/browse/SPARK-19282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15831342#comment-15831342 ]
Xin Ren commented on SPARK-19282: --------------------------------- sorry being naive, I'm not familiar with random forest, but is "max depth" an important metrics/param of RF model? > RandomForestRegressionModel should expose getMaxDepth > ----------------------------------------------------- > > Key: SPARK-19282 > URL: https://issues.apache.org/jira/browse/SPARK-19282 > Project: Spark > Issue Type: Improvement > Components: ML > Affects Versions: 2.1.0 > Reporter: Nick Lothian > 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.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org