Merge pull request #1098 from zyxue/patch-1
improved docstring for folds in cv function
This commit is contained in:
commit
59610c49df
@ -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