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

Callbacks #34

Closed
pfistfl opened this issue Dec 16, 2020 · 2 comments
Closed

Callbacks #34

pfistfl opened this issue Dec 16, 2020 · 2 comments

Comments

@pfistfl
Copy link
Sponsor Member

pfistfl commented Dec 16, 2020

Below a list of proposed callbacks. Some _end, _begin might be superfluous.

  • on_optimization_begin: Additional setup, ....

  • on_optimization_end: Adapt archive before finishing

  • on_design_eval_start: Add e.g. multiple defaults, meta-learned stuff, ...

  • on_iteration_begin:

  • on_iteration_end: Track e.g. loss on held-out dataset || Could be done with mlr3

  • on_acquisition_begin:

  • on_acquisition_end: Perform some checks on the proposed points before evaluating.

  • on_eval_begin:

  • Can I change the AcqFunction hyperparameters depending on some schedule?

  • Can I change AcqFunction|Surrogate optimizer after some amount of iterations?

  • How would I weave in a random eval every nth iteration?

  • How can I add cheap sub-evals (c.f. classification thresholds, nrounds, ...) into optimization?

  • Can I terminate optimization if some non-terminator criterion I define e.g. in the acqfun is met?

  • Can I just debug at a given LOC? i.e. simply adding a callback that calls browser()?

  • ...

@sumny
Copy link
Sponsor Member

sumny commented Sep 9, 2022

See also mlr-org/bbotk#180

@sumny
Copy link
Sponsor Member

sumny commented Aug 13, 2024

to the largest extent solved by bbotk callbacks and #152 now

@sumny sumny closed this as completed Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants