Skip to content

Commit

Permalink
fixing while loop
Browse files Browse the repository at this point in the history
  • Loading branch information
manishamde committed May 18, 2014
1 parent d811425 commit f16a9bb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -941,6 +941,7 @@ object DecisionTree extends Serializable with Logging {
while (classIndex < numClasses) {
rightNodeAgg(featureIndex)(splitIndex)(classIndex)
= totalNodeAgg(classIndex) - leftNodeAgg(featureIndex)(splitIndex)(classIndex)
classIndex += 1
}
splitIndex += 1
}
Expand Down

0 comments on commit f16a9bb

Please sign in to comment.