Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tveasey committed Oct 19, 2020
1 parent d90ff2e commit 7d1e67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/maths/CBoostedTreeImpl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ CBoostedTreeImpl::candidateSplits(const core::CDataFrame& frame,
// between two consecutive integers they must produce identical partitions
// of the data and so always have the same loss. We only need to retain
// one such split for training. We achieve this by snapping to the midpoint
// and subsquently deduplicating.
// and subsequently deduplicating.
std::for_each(featureSplits.begin(), featureSplits.end(),
[](double& split) { split = std::floor(split) + 0.5; });
}
Expand Down

0 comments on commit 7d1e67b

Please sign in to comment.