[doc] Fix small typos (#10405)

This commit is contained in:
Christopher Tee
2024-06-11 04:13:02 -04:00
committed by GitHub
parent 0c44067736
commit e0ebbc0746
2 changed files with 2 additions and 2 deletions

View File

@@ -1486,7 +1486,7 @@ class QuantileDMatrix(DMatrix):
by avoiding intermediate storage. Set ``max_bin`` to control the number of bins
during quantisation, which should be consistent with the training parameter
``max_bin``. When ``QuantileDMatrix`` is used for validation/test dataset, ``ref``
should be another ``QuantileDMatrix``(or ``DMatrix``, but not recommended as it
should be another ``QuantileDMatrix`` or ``DMatrix``, but not recommended as it
defeats the purpose of saving memory) constructed from training dataset. See
:py:obj:`xgboost.DMatrix` for documents on meta info.