-
-
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
xgboost messages should not be output into stdout/stderr but available as iterator for python module #3020
Comments
??? |
There is already option (silent) to supress the messages in python API |
It's not quite about suppression. xgboost outputs directly, there is no way to pass its messages to frameworks output functions. |
There is something related to this in R's implementation, where the logging is hijacked and send to R's console, maybe some direction along that would be helpful |
@tqchen @KOLANICH
int XGBRegisterLogCallback(void (*callback)(const char*))
Let me go ahead and file a PR to re-direct |
This may be helpful to show them in a way not destroying CLI.
The text was updated successfully, but these errors were encountered: