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

Additional (lower level) API #59

Open
SimonBlanke opened this issue Dec 28, 2024 · 0 comments
Open

Additional (lower level) API #59

SimonBlanke opened this issue Dec 28, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@SimonBlanke
Copy link
Owner

This would add another API "level", which enables more control over the optimization run and will be closer to the original mathematical idea of gradient-free-optimization. This API could improve the way how GFO can be used as a dependency in other packages, which might require more control.

It could look somewhat like this:

n_iter = 100

opt = RandomSearch()

for _ in range(n_iter):
  new_position = opt.iterate()
  new_score = objective_function(new_position)
  opt.evaluate(new_score)
@SimonBlanke SimonBlanke self-assigned this Dec 28, 2024
@SimonBlanke SimonBlanke added the enhancement New feature or request label Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant