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

Apache Spark commented on SPARK-3041:
-------------------------------------

User 'jkbradley' has created a pull request for this issue:
https://github.com/apache/spark/pull/1950

> DecisionTree: isSampleValid indexing incorrect
> ----------------------------------------------
>
>                 Key: SPARK-3041
>                 URL: https://issues.apache.org/jira/browse/SPARK-3041
>             Project: Spark
>          Issue Type: Bug
>          Components: MLlib
>    Affects Versions: 1.1.0
>            Reporter: Joseph K. Bradley
>            Assignee: Joseph K. Bradley
>
> In DecisionTree, isSampleValid treats unordered categorical features 
> incorrectly: It treated the bins as if indexed by featured values, rather 
> than by subsets of values/categories.
> This bug is exhibited for unordered features (multi-class classification with 
> categorical features of low arity).
> Proposed fix: Index bins correctly for unordered categorical features.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to