Skip to content

Commit 850b531

Browse files
authored
[backport] [doc] Fix outdated document [skip ci] (dmlc#8527) (dmlc#8553)
* [doc] Fix document around categorical parameters. [skip ci] * note on validate parameter [skip ci] * Fix dask doc as well [skip ci]
1 parent 67b657d commit 850b531

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

doc/parameter.rst

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ General Parameters
4444
* ``validate_parameters`` [default to ``false``, except for Python, R and CLI interface]
4545

4646
- When set to True, XGBoost will perform validation of input parameters to check whether
47-
a parameter is used or not. The feature is still experimental. It's expected to have
48-
some false positives.
47+
a parameter is used or not.
4948

5049
* ``nthread`` [default to maximum number of threads available if not set]
5150

@@ -233,24 +232,21 @@ Parameters for Categorical Feature
233232
These parameters are only used for training with categorical data. See
234233
:doc:`/tutorials/categorical` for more information.
235234

235+
.. note:: These parameters are experimental. ``exact`` tree method is not yet supported.
236+
237+
236238
* ``max_cat_to_onehot``
237239

238240
.. versionadded:: 1.6.0
239241

240-
.. note:: This parameter is experimental. ``exact`` tree method is not yet supported.
241-
242242
- A threshold for deciding whether XGBoost should use one-hot encoding based split for
243243
categorical data. When number of categories is lesser than the threshold then one-hot
244244
encoding is chosen, otherwise the categories will be partitioned into children nodes.
245-
Only relevant for regression and binary classification. Also, ``exact`` tree method is
246-
not supported
247245

248246
* ``max_cat_threshold``
249247

250248
.. versionadded:: 1.7.0
251249

252-
.. note:: This parameter is experimental. ``exact`` tree method is not yet supported.
253-
254250
- Maximum number of categories considered for each split. Used only by partition-based
255251
splits for preventing over-fitting.
256252

doc/python/python_api.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ Core Data Structure
2525
.. autoclass:: xgboost.QuantileDMatrix
2626
:show-inheritance:
2727

28-
.. autoclass:: xgboost.DeviceQuantileDMatrix
29-
:show-inheritance:
30-
3128
.. autoclass:: xgboost.Booster
3229
:members:
3330
:show-inheritance:
@@ -115,7 +112,7 @@ Dask API
115112
:inherited-members:
116113
:show-inheritance:
117114

118-
.. autoclass:: xgboost.dask.DaskDeviceQuantileDMatrix
115+
.. autoclass:: xgboost.dask.DaskQuantileDMatrix
119116
:members:
120117
:inherited-members:
121118
:show-inheritance:

0 commit comments

Comments
 (0)