You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2014/08/02 00:53:40 UTC
[jira] [Updated] (SPARK-2796) DecisionTree bug with ordered
categorical features
[ https://issues.apache.org/jira/browse/SPARK-2796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiangrui Meng updated SPARK-2796:
---------------------------------
Assignee: Joseph K. Bradley
> DecisionTree bug with ordered categorical features
> --------------------------------------------------
>
> Key: SPARK-2796
> URL: https://issues.apache.org/jira/browse/SPARK-2796
> Project: Spark
> Issue Type: Bug
> Components: MLlib
> Affects Versions: 1.0.0
> Reporter: Joseph K. Bradley
> Assignee: Joseph K. Bradley
> Fix For: 1.1.0
>
>
> In DecisionTree, the method sequentialBinSearchForOrderedCategoricalFeatureInClassification() indexed bins from 0 to (math.pow(2, featureCategories.toInt - 1) - 1). This upper bound is the bound for unordered categorical features, not ordered ones. The upper bound should be the arity (i.e., max value) of the feature.
--
This message was sent by Atlassian JIRA
(v6.2#6252)