improved docstring for folds in cv function
This commit is contained in:
parent
c791894668
commit
79b35da308
@ -370,7 +370,7 @@ def cv(params, dtrain, num_boost_round=10, nfold=3, stratified=False, folds=None
|
|||||||
Number of folds in CV.
|
Number of folds in CV.
|
||||||
stratified : bool
|
stratified : bool
|
||||||
Perform stratified sampling.
|
Perform stratified sampling.
|
||||||
folds : KFold or StratifiedKFold
|
folds : a KFold or StratifiedKFold instance
|
||||||
Sklearn KFolds or StratifiedKFolds.
|
Sklearn KFolds or StratifiedKFolds.
|
||||||
metrics : string or list of strings
|
metrics : string or list of strings
|
||||||
Evaluation metrics to be watched in CV.
|
Evaluation metrics to be watched in CV.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user