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
67b4205c
Unverified
Commit
67b4205c
authored
Nov 29, 2021
by
Nikita Titov
Committed by
GitHub
Nov 28, 2021
Browse files
[docs] document that `pred_early_stop` can be used only in normal and raw scores prediction (#4823)
parent
b81f7dd6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
docs/Parameters.rst
docs/Parameters.rst
+2
-0
include/LightGBM/config.h
include/LightGBM/config.h
+1
-0
No files found.
docs/Parameters.rst
View file @
67b4205c
...
...
@@ -923,6 +923,8 @@ Predict Parameters
- used only in ``classification`` and ``ranking`` applications
- used only for predicting normal or raw scores
- if ``true``, will use early-stopping to speed up the prediction. May affect the accuracy
- **Note**: cannot be used with ``rf`` boosting type or custom objective function
...
...
include/LightGBM/config.h
View file @
67b4205c
...
...
@@ -776,6 +776,7 @@ struct Config {
// [no-save]
// desc = used only in ``prediction`` task
// desc = used only in ``classification`` and ``ranking`` applications
// desc = used only for predicting normal or raw scores
// desc = if ``true``, will use early-stopping to speed up the prediction. May affect the accuracy
// desc = **Note**: cannot be used with ``rf`` boosting type or custom objective function
bool
pred_early_stop
=
false
;
...
...
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