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

[timeseries] Return empty leaderboard if no models were trained during fit #3849

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

shchur
Copy link
Collaborator

@shchur shchur commented Jan 5, 2024

Description of changes:

  • Currently, if all models failed during fit(), calling predictor.leaderobard() crashes with a KeyError. With this PR, we will return an empty leaderboard instead.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link

github-actions bot commented Jan 5, 2024

Job PR-3849-b1b117a is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-3849/b1b117a/index.html

Copy link
Contributor

@canerturkmen canerturkmen left a comment

Choose a reason for hiding this comment

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

LGTM!

@shchur shchur merged commit 2e78251 into autogluon:master Jan 8, 2024
28 checks passed
@shchur shchur deleted the return-empty-lb branch January 8, 2024 08:23
LennartPurucker pushed a commit to LennartPurucker/autogluon that referenced this pull request Jun 1, 2024
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