-
Notifications
You must be signed in to change notification settings - Fork 109
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
[Feature Request] Add callbacks option #59
Comments
Thanks for trying out HpBandSter; I'm glad you like it! So far, you are the first one I know that actually wrote a custom logger. How would you feel about adding your custom logger to the examples for others to see how to do that? |
I guess you are right @sfalkner. Callbacks are a "nice to have", but definitely you can do pretty much whatever you need in the I would love to add an example of that! PS |
Hi @sfalkner.
Thanks! |
Hi @jakubczakon, |
First off, great job on the library!
Secondly, I think it would be a good idea to have an option to define callbacks.
For example, I would like to log the progress live to Neptune tracking tool.
I made this example experiment public so you can go there if you want. Full script is available here.
Anyhow, what I ended up doing was:
It gets the job done but having to define this
new_config
method is weird.Also, if I had more callbacks that I wanted to do, it would be tricky.
I think a good place to either have a separate callbacks argument that accepts a list of callbacks (callables on the
job
) or have an option to register them on an initiated optimizer:What do you think?
The text was updated successfully, but these errors were encountered: