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

API change; functional approach to couple hyperparameters and optimizer choice #11

Open
mpvanderschelling opened this issue Nov 8, 2024 · 0 comments

Comments

@mpvanderschelling
Copy link
Collaborator

It would probably be more intuitive to change the API access of optimizers to be a function call instead of a combination of hyperparamater (dict) and the optimizer name (string).

I could mimic the API of optax for this, so it would be something like this:

from f3dasm_optimize import adam
experiment_data.optimize(optimizer=adam(learning_rate=1e-3), data_generator=..., ...)
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