Hyperactive icon indicating copy to clipboard operation
Hyperactive copied to clipboard

[ENH] add `hyperactive` adapters for all gradient-free optimizers classes

Open fkiraly opened this issue 7 months ago • 1 comments

Recipe to add unified API adapters to gradient-free-optimizers in hyperactive. Based on the prototype design in https://github.com/SimonBlanke/Hyperactive/pull/121

  • pick one of the optimization algorithms from https://simonblanke.github.io/gradient-free-optimizers-documentation/1.5/optimizers/ not yet in hyperactive
  • add a new class inheriting from _BaseGFOadapter
  • fill the tags based on the table https://simonblanke.github.io/gradient-free-optimizers-documentation/1.5/optimizers/
  • feel free to take one of the other classes as template, e.g., HillClimbing
  • implement get_gfo_class in the new class
  • fill in the docstring
    • parameter description for all parameters and defaults
    • description of the algorithm
    • these can be taken from the documentation on the algorithm here https://simonblanke.github.io/gradient-free-optimizers-documentation/1.5/optimizers/ - this is currently not in docstrings in GFO
    • add an example on how to use the optimizer.
  • ensure tests pass - these will be automatically run via TestAllOptimizers

fkiraly avatar May 24 '25 07:05 fkiraly

@SimonBlanke, I think this could be a good first issue, after #121 is reviewed and merged

fkiraly avatar May 24 '25 07:05 fkiraly

done via https://github.com/SimonBlanke/Hyperactive/pull/127

fkiraly avatar Jun 27 '25 06:06 fkiraly