-
Notifications
You must be signed in to change notification settings - Fork 184
Fixes to support sklearn 1.1 #980
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
Fixes to support sklearn 1.1 #980
Conversation
|
/intelci: run |
1 similar comment
|
/intelci: run |
dd6a19d to
5132d51
Compare
|
/intelci: run |
Alexsandruss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: "complex method" warnings and notices should be disabled or fixed in future.
|
/intelci: run |
| else: | ||
| def func(x, *args): | ||
| return _multinomial_loss_grad(x, *args)[0:2] | ||
| if sklearn_check_version('1.1'): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| if sklearn_check_version('1.1'): | |
| if sklearn_check_version('1.1') and loss is not None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but maybe loss=None at line 431 was redundant...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think explicitly specifying loss = None is safer
|
/intelci: run |
No description provided.