Update parameter for categorical feature. (#8285)

This commit is contained in:
Jiaming Yuan
2022-10-10 19:48:29 +08:00
committed by GitHub
parent 5545c49cfc
commit c68684ff4c
3 changed files with 18 additions and 4 deletions

View File

@@ -84,7 +84,7 @@ values are categories, and the measure is the output leaf value. Intuitively, w
group the categories that output similar leaf values. During split finding, we first sort
the gradient histogram to prepare the contiguous partitions then enumerate the splits
according to these sorted values. One of the related parameters for XGBoost is
``max_cat_to_one_hot``, which controls whether one-hot encoding or partitioning should be
``max_cat_to_onehot``, which controls whether one-hot encoding or partitioning should be
used for each feature, see :ref:`cat-param` for details.