-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
R xgboost wrapper doesn't pass maximize parameter to xgb.train #916
Comments
It was fixed in August b0be833 |
The xgboost_0.4-3.tar.gz at CRAN seems to still have this issue with maximize in xgboost.R |
@ielbert Can you try the drat repo version?
|
I see the same problem in the current version on CRAN, which I use via mlr. But the drat repo version works! Thanks! |
Yes, the problem is still there. I just hot-patch the function on the fly.
|
R package xgboost version 0.4-3:
xgboost function takes maximize parameter but does not pass it to xgb.train:
Line from xgboost:
bst <- xgb.train(params, dtrain, nrounds, watchlist, verbose = verbose,
print.every.n = print.every.n, early.stop.round = early.stop.round)
xgb.train then complains:
Error in xgb.train(params, dtrain, nrounds, watchlist, verbose = verbose, :
Please set maximize to note whether the model is maximizing the evaluation or not.
The text was updated successfully, but these errors were encountered: