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

Add generic callback configuration logic #639

Merged
merged 3 commits into from
Sep 25, 2024
Merged

Conversation

PGijsbers
Copy link
Collaborator

You can configure callbacks for AutoGluon through configuration, e.g.:

AutoGluonES:
  extends: AutoGluon
  params:
    callbacks:
      EarlyStoppingEnsembleCallback:
        patience: 5

Should probably also be added to the time series script (might be worth at some point trying to see what can be stored in a shared module?)?

@PGijsbers
Copy link
Collaborator Author

@israel-cj I believe this should allow you to specify the callbacks in the way you need to for your experiments, while providing a more general approach for all users.

Copy link
Collaborator

@Innixma Innixma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for adding. Might be nice if there is some documentation on how to properly specify the callbacks in the yaml file, otherwise it isn't trivial to reverse engineer the proper formatting.

@PGijsbers PGijsbers merged commit 8fd39e1 into master Sep 25, 2024
10 checks passed
@PGijsbers PGijsbers deleted the autogluon/callback branch September 25, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants