-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add option to specify "catch" in OptunaSearchCV #162
Labels
bug
Something isn't working
Comments
I have discovered that it is not the estimator that fails when calling Pattern 1:
Pattern 2:
|
The issue is resolved by #163. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
I'm hitting this error:
FloatingPointError: underflow encountered in _ndtri_exp_single (vectorized)
, when I'm fitting anOptunaSearchCV
instance with a XGBoostRegressor, where regularization parameters are sampled too low (I think that's the issue). I would love to passcatch
exception to the instance, but this is currently not possible the way the scikit-learn interface is desgined:Environment
Error messages, stack traces, or logs
11:29:22 [W 2024-09-06 11:29:16,762] Trial 10 failed with parameters: {} because of the following error: FloatingPointError('underflow encountered in _ndtri_exp_single (vectorized)').
Steps to reproduce
I cannot recreate the bug because of confidential data, but the gist of it is this:
Above code fails with using other data.
Additional context (optional)
No response
The text was updated successfully, but these errors were encountered: