I recently introduced a state saving feature in SymbolicRegression >=0.6.19. This lets you resume from previous searches which is useful for quick tweaks of hyperparameters for long-running searches.
If you set Options(..., stateReturn=true), then EquationSearch will return (saved_state, hallOfFame) instead of just hallOfFame. You can then call EquationSearch(..., saved_state=saved_state) and it will restart from your previous search.
There are some requirements for restarts: the operators (identical ordering as well) and the dataset should be identical. Otherwise you should restart a new search.
Let me know if you need any help in adding this.
Cheers,
Miles
Oh, nice! I'll think it should just run given that I implemented the API just with kwargs... for any of the keywords. For the result, this could can be handled internally. I'll let you know if I need any help!
I recently introduced a state saving feature in SymbolicRegression >=0.6.19. This lets you resume from previous searches which is useful for quick tweaks of hyperparameters for long-running searches.
If you set
Options(..., stateReturn=true)
, thenEquationSearch
will return(saved_state, hallOfFame)
instead of justhallOfFame
. You can then callEquationSearch(..., saved_state=saved_state)
and it will restart from your previous search.There are some requirements for restarts: the operators (identical ordering as well) and the dataset should be identical. Otherwise you should restart a new search.
Let me know if you need any help in adding this. Cheers, Miles