Skip to content

Commit

Permalink
Fix max_cat_to_onehot doc annotation [skip ci] (#7592)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Jan 23, 2022
1 parent d262503 commit f84291c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-package/xgboost/sklearn.py
Expand Up @@ -197,7 +197,7 @@ def inner(y_score: np.ndarray, dmatrix: DMatrix) -> Tuple[str, float]:
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
Expand Down

0 comments on commit f84291c

Please sign in to comment.