Fix max_cat_to_onehot doc annotation [skip ci] (#7592)

This commit is contained in:
Jiaming Yuan
2022-01-23 16:33:23 +08:00
committed by GitHub
parent d262503781
commit f84291c1e1

View File

@@ -197,7 +197,7 @@ __model_doc = f'''
Experimental support for categorical data. Do not set to true unless you are
interested in development. Only valid when `gpu_hist` and dataframe are used.
max_cat_to_onehot : bool
max_cat_to_onehot : Optional[int]
.. versionadded:: 1.6.0