Skip to content
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

Turn warning messages into Python warnings. #9387

Merged
merged 3 commits into from
Jul 14, 2023

Conversation

trivialfis
Copy link
Member

@trivialfis trivialfis commented Jul 14, 2023

Close #6703 .

The change also makes it easier for me to test various warnings. See the updated test of parameter validation for an example.

python-package/xgboost/core.py Outdated Show resolved Hide resolved
@trivialfis trivialfis merged commit 9da5050 into dmlc:master Jul 14, 2023
@trivialfis trivialfis deleted the py-warning branch July 14, 2023 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to retrieve the outcome of validate_parameters to Python API
2 participants