Remove BayesSearchCV(iid=) parameter deprecated in sklearn 0.24 #988
Conversation
LGTM except for that one language suggestion. |
Co-authored-by: Tim Head <betatim@gmail.com>
Please merge this! |
my commit on this merge request. Sorry, but Ive got 2 troubles with this merge request on sklearn 0.24 |
…alidation._fit_and_score * Update searchcv.py Further improvements for kernc previous commits. iid totally removed to prevent troubles with sklearn utils prettyprinting. prettyprinting looks for params when print to repl. Sklearn 0.24 has changed return value after cv, so i changed dict destructuring(a litttle bit dirty) * Update searchcv.py * Revert unrelated changes * PEP8 format; add comment * Revert reverting "unrelated changes" This is required to pass tests/test_searchcv.py with scikit-learn 0.24+. Co-authored-by: Kernc <kerncece@gmail.com>
Any update on when this PR will get merged? @betatim |
I suppose not as long as it's failing the CI. I'm tackling related years-overdue #718. Give me a few more days. 😅 |
Looks promising! With the latest commit, I've migrated the class to use sklearn's |
Feel free to merge this when this looks OK and then move on with all the other patches :-) Thanks for the work @kernc ! |
@glouppe Would the notable change go into the 0.8.2 or the 0.9.0 whatsnew, in your opinion? |
Time for 0.9! |
Shall we merge? :) |
I believe so. I think also a prompt release would be well accepted. This PR closes 7 issues with tens of subscribers. 😬
|
I suggest adding support for multimetric scoring to This doesn't appear too hard, as only L411 and L471 need to be adapted. I believe this is sufficient:
Using If @kernc and @glouppe approve this idea, I am happy to make a small PR. |
Sorry for missing #797 ! |
I think that would be the easiest wrt integration. |
@kernc Feel free to click the green button and merge this PR. The work comes mainly from you :) (It will then be easier for everyone else to build upon...) |
@QuentinSoubeyran You should now make a fix against master directly. 👍 |
Removed in 9461bfe "Remove BayesSearchCV(iid=) parameter deprecated in sklearn 0.24 (scikit-optimize#988)"
Is this merged into master? I just installed today, still a problem :( |
Yes, this has been merged. Can you report the issue you have? |
Hello, is there a schedule for a stable release including this fix? Currently, release 0.8.1 is still broken. |
@glouppe This is what I was referring to. When I use 0.8.1 and still get this problem with sklearn version 0.24.2 |
Same here, still an issue with sklearn 0.24.1 and skopt 0.8.1. Line 432 of searchcv.py throws a wobbly unpacking the zip(*out) |
Can anyone post an example? I'm away from home at the moment. |
Even I am facing this issue.
|
Hi! |
While this PR was merged into the master branch, scikit-optimize 0.9 has not been released yet. The scikit-optimize version on PyPi (0.8.1 at the time of writing) is still incompatible with scikit-learn 0.24+. For anyone needing the compatibility, you can install scikit-optimize directly from source with
If you also need multimetric BayesSearch, you need to install from my fork until #1030 is merged:
Hope this helps. |
@kernc Could you make a release? I think that would help a lot of users :-) |
(And in general, we need help from all of you with the project! No one is actively maintaining it anymore, unfortunately.) |
Can you clarify that nobody is maintaining anymore? I see that a number of
employers and institutions (including big companies like Northrop Grumman)
have worked on it in the past?
…On Thu, Jul 29, 2021 at 12:20 PM Gilles Louppe ***@***.***> wrote:
(And in general, we need help from all of you with the project! No one is
actively maintaining it anymore, unfortunately.)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#988 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGBJO6DMVCGGH77XUMY7VNTT2F5V3ANCNFSM4WOLPEVA>
.
--
Tony Kelly
829 Concorde Circle Unit 4202
Linthicum Heights, MD
Cell: 443 717 1215
***@***.***
*We can only see a short distance ahead, but we can see plenty there that
needs to be done. - Alan Turing*
|
@QuentinSoubeyran , thanks a lot! |
@glouppe is the problem fixed? Do you just need someone to publish a v0.9 release to PyPI? Or does more work need to happen still? I might be willing to answer a "call for maintainers", but it'd be helpful to know what's involved. I'm also very interested in @QuentinSoubeyran's multimetric version, and if/how that can be merged upstream. |
Any news on when 9.0 with sklearn >0.24 support will be released? |
@wundermahn My understanding is that no one is regularly taking the time to answer and fix issues, review and merge PR and make releases on PyPI |
Hello |
@RNarayan73 The |
Ok. Thanks for clarifying. |
Fixes #978
Fixes #987
Fixes #927
Fixes #990
Fixes #981 via updated scikit-learn
Fixes #1006
Fixes #718
Closes #951