SMAC3 icon indicating copy to clipboard operation
SMAC3 copied to clipboard

Convenience Method for Adding Previous Runs?

Open benjamc opened this issue 3 years ago • 5 comments

Restoring SMAC takes some lines of code. What do you think, @renesass @dengdifan @timruhkopf , should we also add a convenience method? E.g. Optuna allows to add previous trials with an add_trial() method.

benjamc avatar Jan 06 '22 09:01 benjamc

I think that makes a lot of sense. It will make it easier to compare different optimizers with each other if we can block the initial design.

mlindauer avatar Jan 06 '22 09:01 mlindauer

Would this be 1/2 of a suggest&report interface?

mfeurer avatar Jan 10 '22 11:01 mfeurer

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 17 '22 21:06 stale[bot]

I added the option to pass a runhistory in development 2.0. The initial configs and incumbent are derived from the runhistory directly. Does that fix the problem?

renesass avatar Aug 18 '22 10:08 renesass

Passing a runhistory still requires to know about runhistories. A function add_trial() or similar would make it easy for the user to just write a for-loop and add results one by one.

mfeurer avatar Aug 18 '22 12:08 mfeurer