Unverified Commit 67b4205c authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[docs] document that `pred_early_stop` can be used only in normal and raw scores prediction (#4823)

parent b81f7dd6
...@@ -923,6 +923,8 @@ Predict Parameters ...@@ -923,6 +923,8 @@ Predict Parameters
- used only in ``classification`` and ``ranking`` applications - 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 - 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 - **Note**: cannot be used with ``rf`` boosting type or custom objective function
......
...@@ -776,6 +776,7 @@ struct Config { ...@@ -776,6 +776,7 @@ struct Config {
// [no-save] // [no-save]
// desc = used only in ``prediction`` task // desc = used only in ``prediction`` task
// desc = used only in ``classification`` and ``ranking`` applications // 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 = 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 // desc = **Note**: cannot be used with ``rf`` boosting type or custom objective function
bool pred_early_stop = false; bool pred_early_stop = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment