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

Hyperopt checkpointing/restarting #1800

Closed
goord opened this issue Aug 25, 2023 · 3 comments
Closed

Hyperopt checkpointing/restarting #1800

goord opened this issue Aug 25, 2023 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@goord
Copy link
Collaborator

goord commented Aug 25, 2023

Does the hyperoptimization of the fit currently support checkpointing and restarting the bayesian optimization process?

@goord goord added the question Further information is requested label Aug 25, 2023
@scarlehoff
Copy link
Member

I don't think so.

Btw, we used the hyperopt library but since it hasn't been maintained in a while (I see it started having new commits in the last few months, but it has been stale since ~2021) maybe it makes sense to implement some other library...

Back when hyperopt was implemented I also implemented optuna and it worked fine but chose to stay with hyperopt because I have a great ability to select the winner technology :)
(for what we were doing hyperopt was much simpler to use and required less tweaking, in any case, what I'm trying to say is feel free to change hyperopt to some other library, the hyperoptimization library is not coupled at all with the rest of the code so it should be easy)

Here's a patch with my old optuna implementation
patch_optuna.zip

the changes needed were really minimal (I'm guessing the patch itself won't work since it is 4 years old) so using other hyperoptimization libraries should also be possible!

@Radonirinaunimi
Copy link
Member

Does the hyperoptimization of the fit currently support checkpointing and restarting the bayesian optimization process?

As I mentioned in the slack, this feature is not available. But if picking as a starting point a given n-th trial is needed, then this can be easily implemented by loading the json file that are already written into disk and use it as the starting input to the trials entry.

@scarlehoff
Copy link
Member

Closed by #1824

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants