Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFit of Inf or -Inf does not raise an error #18
Comments
|
Can you please supply a minimal example? Am 15.10.2015 um 15:25 schrieb ja-thomas:
|
|
After some additional testing, it seems to have something to do with the offset value of the family. The problem first appears in gamboostLSS where offset values are written in the family objects.
In the second case a warning is given while calculating the model. |
|
With > gamboost(y ~. , data = data, family = NBinomialSigma(stabilization = "none", mu = fitted(model_mu)))
Fehler in if (all(tsums < 0)) stop("could not fit base learner in boosting iteration ", :
Fehlender Wert, wo TRUE/FALSE nötig ist |
When an glmboost model fits values of +/-Inf it does not raise an error, but sets an baselearner to NA. So there can be mboost models with mstop > 1 but every baselearner is NA and no coefficients are fitted (coef(model) is NULL) but no error or warning is shown.
If you fit it with gamboost and bols baselearner an error is raised.