-
Notifications
You must be signed in to change notification settings - Fork 12
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
Feature request: Callbacks #18
Comments
A general monitoring callback is already supported by the bindings: pyoperon/example/operon-bindings.py Line 105 in 5ddcd9d
But calling python lambdas from C++ can be unreliable due to the GIL. We could expose this as Regarding Optuna, is this similar to what you had in mind? https://gist.github.com/foolnotion/226fe764b9af79f219d63c8c10b0d497 |
Indeed exposing
other examples of ML libraries using All of these provide the required functionality to use Regarding |
Since
SymbolicRegressor
is an iterative process, akin to online learning algorithms (neural nets, etc), it would be useful to have callbacks that could be called at different stages. For example, a monitoring callback could print the generation number, the best objective values, etc. Another example would be to implement early stop callback under certain conditions. Yet another example would be to better integrate withoptuna
.The text was updated successfully, but these errors were encountered: