We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d811425 commit f16a9bbCopy full SHA for f16a9bb
mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala
@@ -941,6 +941,7 @@ object DecisionTree extends Serializable with Logging {
941
while (classIndex < numClasses) {
942
rightNodeAgg(featureIndex)(splitIndex)(classIndex)
943
= totalNodeAgg(classIndex) - leftNodeAgg(featureIndex)(splitIndex)(classIndex)
944
+ classIndex += 1
945
}
946
splitIndex += 1
947
0 commit comments