From 51dc951cc13cf90d2e3b811d6c18cd09c9a84697 Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Mon, 27 Mar 2023 18:36:12 +0800 Subject: [PATCH] Cleanup. --- doc/parameter.rst | 2 +- src/data/data.cc | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/parameter.rst b/doc/parameter.rst index 0caf3449884a..2161df5798f4 100644 --- a/doc/parameter.rst +++ b/doc/parameter.rst @@ -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. diff --git a/src/data/data.cc b/src/data/data.cc index 0485c5895c4c..1176e40e86c2 100644 --- a/src/data/data.cc +++ b/src/data/data.cc @@ -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;