-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NaN predictions #26
Comments
@ldesreumaux Thank you for raising the issue! I am not able to reproduce the result that you are showing. devtools::install_github("Blunde1/agtboost/R-package")
library(agtboost)
data(caravan.train, package = "agtboost")
train <- caravan.train
gbt.train(train$y, train$x, loss_function="logloss", verbose=10, nrounds=500, learning_rate=0.1) I got the following output
I obtained almost identical results at consecutive runs. |
Indeed, the issue cannot be reproduced with the development version. I can only reproduce it when agtboost is installed with:
And it does not seem to be platform-dependent: I reproduced it on Windows 10 and openSUSE 12.3 with R 4.0.5. |
Thank you, I was now able to reproduce it on R 4.0.5 (2021-03-31). Strangely CRAN and development version should be the same. I will look into it. |
Hoping this will be fixed in v0.9.2. |
The following code:
gives the following output:
And
predict
outputs NaN predictions.The text was updated successfully, but these errors were encountered: