Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

How to introduce customized stop criteria #1179

Open
AmirShahbazi90 opened this issue Sep 3, 2023 · 1 comment
Open

How to introduce customized stop criteria #1179

AmirShahbazi90 opened this issue Sep 3, 2023 · 1 comment

Comments

@AmirShahbazi90
Copy link

I could not find any argument in this package to introduce my own stop criteria in gp_minimize().

for example if difference between 2 successive evaluations of my objective function is less than 1e(-6) it is fine and no longer I need further evaluations.
I am looking forward to implement my Hyperparameter optimization in the way and also access the number of evaluations at which my stop criteria is in effect.

Is there any possibility to do so with this function(gp_minimize())?

@c-foschi
Copy link

Seems what you are looking for is skopt.callbacks.DeltaYStopper.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants