You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gaetan (JIRA)" <ji...@apache.org> on 2018/12/21 08:29:00 UTC

[jira] [Commented] (SPARK-14043) Remove restriction on maxDepth for decision trees

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

Gaetan commented on SPARK-14043:
--------------------------------

In my opinion this is a mistake to not invest in machine learning improvements. Random forest is a very efficient algorithm for statisticians, often more than some logistic or polynomial regressions. This limit of depth is inconvenient from 1 billion of observations, so that we are forced to use another technology, beacause the error rate is too important.

> Remove restriction on maxDepth for decision trees
> -------------------------------------------------
>
>                 Key: SPARK-14043
>                 URL: https://issues.apache.org/jira/browse/SPARK-14043
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>            Reporter: Joseph K. Bradley
>            Priority: Minor
>
> We currently restrict decision trees (DecisionTree, GBT, RandomForest) to be of maxDepth <= 30.  We should remove this restriction to support deep (imbalanced) trees.
> Trees store an index for each node, where each index corresponds to a unique position in a binary tree.  (I.e., the first index of row 0 is 1, the first of row 1 is 2, the first of row 2 is 4, etc., IIRC)
> With some careful thought, we could probably avoid using indices altogether.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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