Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Conversation

@QuentinSoubeyran
Copy link
Contributor

This is a remake of #1030 with (hopefully) a cleaner history. I had initially forked kernc's fork instead of the base repo.


As discussed in PR #988 and issue #797, this PR implements support for multimetric scoring to BayesSearchCV. The refit parameter is used to drive the optimization process.

Fixes:

Features:

  • add support for list of dict scoring and callable scoring returning a dict of scores to BayesSearchCV
  • added support for refit to specify the score to use for optimisation. Callable refit (accepted by GridSearchCV) are not supported
  • documented the changes, documented the BayesSearchCV.multimetric_ attribute
  • added simple test for the changes
  • added entry in what's new

@pep8speaks
Copy link

pep8speaks commented Sep 29, 2021

Hello @QuentinSoubeyran! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2021-10-13 15:24:27 UTC

@QuentinSoubeyran
Copy link
Contributor Author

@kernc @glouppe For some reasons CircleCI doesn't let me see the details of the failed tests (I get a "your session has expired" error). If you can tell me what's wrong with the dependencies I'll fix it.

@QuentinSoubeyran QuentinSoubeyran changed the title [MRG] Add support for Multimetric BayesSearchCV ENH: Add support for Multimetric BayesSearchCV Oct 19, 2021
@gregorkschroeder
Copy link

Does this need any additional work that is preventing a merge or is this just awaiting future inclusion?

@jane-delaney
Copy link

Any chance this could be merged as it is badly needed?

@marvher
Copy link

marvher commented Oct 4, 2022

Yeah this feature would be really really helpful, thank!
@holgern @kernc @QuentinSoubeyran

@MauritsDescamps
Copy link

Is anything blocking this merge?

@rabyj
Copy link

rabyj commented May 5, 2023

@MauritsDescamps Repo does not seem the be maintained anymore, last commit was on Oct 12, 2021.

You can bring it up there #1161

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants