Skip to content

Commit

Permalink
[docs] document that pred_early_stop can be used only in normal and…
Browse files Browse the repository at this point in the history
… raw scores prediction (#4823)
  • Loading branch information
StrikerRUS authored Nov 29, 2021
1 parent b81f7dd commit 67b4205
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/Parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions include/LightGBM/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 67b4205

Please sign in to comment.