[
https://issues.apache.org/jira/browse/SPARK-2152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiangrui Meng resolved SPARK-2152.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0
1.0.1
Issue resolved by pull request 1316
[https://github.com/apache/spark/pull/1316]
> the error of comput rightNodeAgg about Decision tree algorithm in Spark
> MLlib
> --------------------------------------------------------------------------------
>
> Key: SPARK-2152
> URL: https://issues.apache.org/jira/browse/SPARK-2152
> Project: Spark
> Issue Type: Bug
> Affects Versions: 1.0.0
> Environment: windows7 ,32 operator,and 3G mem
> Reporter: caoli
> Labels: features
> Fix For: 1.0.1, 1.1.0
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> the error of comput rightNodeAgg about Decision tree algorithm in Spark
> MLlib about the function extractLeftRightNodeAggregates() ,when compute
> rightNodeAgg used bindata index is error. in the DecisionTree.scala file
> about Line 980:
> rightNodeAgg(featureIndex)(2 * (numBins - 2 - splitIndex)) =
> binData(shift + (2 * (numBins - 2 - splitIndex))) +
> rightNodeAgg(featureIndex)(2 * (numBins - 1 - splitIndex))
>
> the binData(shift + (2 * (numBins - 2 - splitIndex))) index compute is
> error, so the result of rightNodeAgg include repeated data about "bins"
--
This message was sent by Atlassian JIRA
(v6.2#6252)