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

Allow user to integrate custom tuners #19

Open
micahjsmith opened this issue Dec 12, 2019 · 0 comments
Open

Allow user to integrate custom tuners #19

micahjsmith opened this issue Dec 12, 2019 · 0 comments

Comments

@micahjsmith
Copy link
Contributor

Autobazaar currently supports three tuners: gp, gpei, and uniform. It allows users to choose from among them. It is not currently supported to use a different tuner, even if the tuner follows the BTB Tuner API.

Suggested behavior:

  • modify autobazaar.search.PipelineSearcher to take a more flexible input tuner_type
  • if tuner_type is a string, look up a tuner class in btb.tuning.tuners by matching on case-insensitive names with or without Tuner suffix.
  • if tuner_type is a string with the FQ name of a class, then try to import the tuner, confirm it is a subclass of BaseTuner, and then proceed.
  • else if tuner_type is a subclass of btb.tuning.tuners.base.BaseTuner then proceed and instantiate an instance of this tuner
  • else error
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

No branches or pull requests

1 participant