Skip to content

Commit

Permalink
remove redundant print
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiyueXu77 committed Feb 28, 2024
1 parent 616f68e commit 7e407a8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/tree/hist/evaluate_splits.h
Original file line number Diff line number Diff line change
Expand Up @@ -392,11 +392,6 @@ class HistEvaluator {
}
else {
auto grad_stats = EnumerateSplit<+1>(cut, histogram, fidx, nidx, evaluator, best);

// print the best split for each feature
// std::cout << "Best split for feature " << fidx << " is " << best->split_value << " with gain " << best->loss_chg << std::endl;


if (SplitContainsMissingValues(grad_stats, snode_[nidx])) {
EnumerateSplit<-1>(cut, histogram, fidx, nidx, evaluator, best);
}
Expand Down

0 comments on commit 7e407a8

Please sign in to comment.