Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
b2a935fd
"python-package/vscode:/vscode.git/clone" did not exist on "27624755bfff3c773e85c61e774eb5b18feb392c"
Unverified
Commit
b2a935fd
authored
Oct 26, 2018
by
Nikita Titov
Committed by
GitHub
Oct 26, 2018
Browse files
[docs] corrected verbose argument description in fit method (#1781)
parent
96cb6984
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
python-package/lightgbm/sklearn.py
python-package/lightgbm/sklearn.py
+11
-2
No files found.
python-package/lightgbm/sklearn.py
View file @
b2a935fd
...
...
@@ -369,8 +369,17 @@ class LGBMModel(_LGBMModelBase):
to continue training.
Requires at least one validation data and one metric.
If there's more than one, will check all of them. But the training data is ignored anyway.
verbose : bool, optional (default=True)
If True and an evaluation set is used, writes the evaluation progress.
verbose : bool or int, optional (default=True)
Requires at least one evaluation data.
If True, the eval metric on the eval set is printed at each boosting stage.
If int, the eval metric on the eval set is printed at every ``verbose`` boosting stage.
The last boosting stage or the boosting stage found by using ``early_stopping_rounds`` is also printed.
Example
-------
With ``verbose`` = 4 and at least one item in ``eval_set``,
an evaluation metric is printed every 4 (instead of 1) boosting stages.
feature_name : list of strings or 'auto', optional (default='auto')
Feature names.
If 'auto' and data is pandas DataFrame, data columns names are used.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment