You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: API_REFERENCE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Used to randomly split training observations into training and validation if ***
17
17
Determines the loss function used. Allowed values are "gaussian", "binomial", "poisson", "gamma" and "tweedie". This is used together with ***link_function***. Please note that the implementation of values other than "gaussian" is experimental.
18
18
19
19
#### link_function (default = "identity")
20
-
Determines how the linear predictor is transformed to predictions. Allowed values are "identity", "logit", "log", "inverse" and "tweedie". These are canonical link functions for the "gaussian", "binomial", "poisson", "gamma" and "tweedie"***family***respectively. Canonical links usually work fine given that the data is appropriate for the selected combination of***family*** and ***link_function***. Other combinations of ***family*** and ***link_function*** may or may not work (the model may fit poorly to the data if the wrong combination is used). Please note that the implementation of values other than "identity" is experimental.
20
+
Determines how the linear predictor is transformed to predictions. Allowed values are "identity", "logit" and "log". For logistic regression use ***family***="binomial" and ***link_function***="logit". For a multiplicative model use the "log" ***link_function***and a***family***that is not "binomial". The ***family*** "poisson", "gamma" or "tweedie" should only be used with the "log"***link_function***. Invalid combinations of ***family*** and ***link_function*** may result in a warning message when fitting the model and/or a poor model fit. Please note that the implementation of values other than "identity" is experimental.
21
21
22
22
#### n_jobs (default = 0)
23
23
Multi-threading parameter. If ***0*** then uses all available cores for multi-threading. Any other positive integer specifies the number of cores to use (***1*** means single-threading).
std::string error_message{"Response values for the log link function or poisson family or tweedie family when tweedie_power<2 cannot be less than zero."};
std::string warning_message{"Warning: Encountered numerical problems when calculating prediction errors in the previous boosting step. Not continuing with further boosting steps."};
warning_message+=" For this combination of family and link_function, a reason may be too large or too small response values.";
790
+
std::string warning_message{"Warning: Encountered numerical problems when calculating prediction errors in the previous boosting step. Not continuing with further boosting steps. One potential reason is if the combination of family and link_function is invalid."};
0 commit comments