From eb79bbe2d1849ee99450bd5e9fc97de029113379 Mon Sep 17 00:00:00 2001 From: jiamingy Date: Sun, 4 Dec 2022 20:54:23 +0800 Subject: [PATCH 1/3] [doc] Fix document around categorical parameters. [skip ci] --- doc/parameter.rst | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/doc/parameter.rst b/doc/parameter.rst index 837a7d1b0b7a..08064b8de812 100644 --- a/doc/parameter.rst +++ b/doc/parameter.rst @@ -233,24 +233,21 @@ Parameters for Categorical Feature These parameters are only used for training with categorical data. See :doc:`/tutorials/categorical` for more information. +.. note:: These parameters are experimental. ``exact`` tree method is not yet supported. + + * ``max_cat_to_onehot`` .. versionadded:: 1.6.0 - .. note:: This parameter is experimental. ``exact`` tree method is not yet supported. - - A threshold for deciding whether XGBoost should use one-hot encoding based split for categorical data. When number of categories is lesser than the threshold then one-hot encoding is chosen, otherwise the categories will be partitioned into children nodes. - Only relevant for regression and binary classification. Also, ``exact`` tree method is - not supported * ``max_cat_threshold`` .. versionadded:: 1.7.0 - .. note:: This parameter is experimental. ``exact`` tree method is not yet supported. - - Maximum number of categories considered for each split. Used only by partition-based splits for preventing over-fitting. From 6f3ec07b48c27632828ea5c554b80c1be67509e2 Mon Sep 17 00:00:00 2001 From: jiamingy Date: Sun, 4 Dec 2022 21:00:04 +0800 Subject: [PATCH 2/3] note on validate parameter [skip ci] --- doc/parameter.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/parameter.rst b/doc/parameter.rst index 08064b8de812..361847501357 100644 --- a/doc/parameter.rst +++ b/doc/parameter.rst @@ -44,8 +44,7 @@ General Parameters * ``validate_parameters`` [default to ``false``, except for Python, R and CLI interface] - When set to True, XGBoost will perform validation of input parameters to check whether - a parameter is used or not. The feature is still experimental. It's expected to have - some false positives. + a parameter is used or not. * ``nthread`` [default to maximum number of threads available if not set] From 2792cd41064e2126a7ca7ea6c289877b29ec6c08 Mon Sep 17 00:00:00 2001 From: jiamingy Date: Mon, 5 Dec 2022 18:09:07 +0800 Subject: [PATCH 3/3] Fix dask doc as well [skip ci] --- doc/python/python_api.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/python/python_api.rst b/doc/python/python_api.rst index a5ddd7831006..03b431c77d41 100644 --- a/doc/python/python_api.rst +++ b/doc/python/python_api.rst @@ -25,9 +25,6 @@ Core Data Structure .. autoclass:: xgboost.QuantileDMatrix :show-inheritance: -.. autoclass:: xgboost.DeviceQuantileDMatrix - :show-inheritance: - .. autoclass:: xgboost.Booster :members: :show-inheritance: @@ -115,7 +112,7 @@ Dask API :inherited-members: :show-inheritance: -.. autoclass:: xgboost.dask.DaskDeviceQuantileDMatrix +.. autoclass:: xgboost.dask.DaskQuantileDMatrix :members: :inherited-members: :show-inheritance: