Fix cls typo. (#6247)
This commit is contained in:
parent
3098d7cee0
commit
52452bebb9
@ -879,7 +879,7 @@ class XGBClassifier(XGBModel, XGBClassifierBase):
|
|||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
data : array_like
|
data : array_like
|
||||||
The dmatrix storing the input.
|
Feature matrix.
|
||||||
output_margin : bool
|
output_margin : bool
|
||||||
Whether to output the raw untransformed margin value.
|
Whether to output the raw untransformed margin value.
|
||||||
ntree_limit : int
|
ntree_limit : int
|
||||||
@ -933,8 +933,8 @@ class XGBClassifier(XGBModel, XGBClassifierBase):
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
data : DMatrix
|
data : array_like
|
||||||
The dmatrix storing the input.
|
Feature matrix.
|
||||||
ntree_limit : int
|
ntree_limit : int
|
||||||
Limit number of trees in the prediction; defaults to best_ntree_limit if defined
|
Limit number of trees in the prediction; defaults to best_ntree_limit if defined
|
||||||
(i.e. it has been trained with early stopping), otherwise 0 (use all trees).
|
(i.e. it has been trained with early stopping), otherwise 0 (use all trees).
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user