Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Mar 27, 2023
1 parent 05a7e32 commit 51dc951
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion doc/parameter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ Parameters for Tree Booster
.. note:: This parameter is working-in-progress.

- The strategy used for training multi-target models, including multi-target regression
and multi-class classification. See :doc:`/tutorials/multioutput` for more information.
and multi-class classification. See :doc:`/tutorials/multioutput` for more information.

- ``one_output_per_tree``: One model for each target.
- ``multi_output_tree``: Use multi-target trees.
Expand Down
1 change: 0 additions & 1 deletion src/data/data.cc
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,6 @@ void MetaInfo::Validate(std::int32_t device) const {
return;
}
if (labels.Size() != 0) {
std::cout << labels.Shape(0) << " nr:" << num_row_ << std::endl;
CHECK_EQ(labels.Shape(0), num_row_) << "Size of labels must equal to number of rows.";
CheckDevice(device, labels);
return;
Expand Down

0 comments on commit 51dc951

Please sign in to comment.