Skip to content

Commit

Permalink
fixing index for highest bin
Browse files Browse the repository at this point in the history
Signed-off-by: Manish Amde <[email protected]>
  • Loading branch information
manishamde committed Feb 28, 2014
1 parent e23c2e5 commit 53108ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ object DecisionTree extends Serializable with Logging {
bins(featureIndex)(index) = bin
}
bins(featureIndex)(numBins-1)
= new Bin(splits(featureIndex)(numBins-3),new DummyHighSplit(Continuous),Continuous)
= new Bin(splits(featureIndex)(numBins-2),new DummyHighSplit(Continuous),Continuous)
}

(splits,bins)
Expand Down

0 comments on commit 53108ed

Please sign in to comment.