Skip to content

Conversation

shchur
Copy link
Collaborator

@shchur shchur commented Apr 23, 2025

Issue #, if available: Fixes #4315

Description of changes:

  • Currently, if a feature of type category contains all-NaN values, PipelineFeatureGenerator.fit_transform will raise a ZeroDivisionError when trying to estimate the post_memory_usage. This PR fixes this issue.

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

@shchur shchur requested a review from Innixma April 23, 2025 09:46
Copy link

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

Copy link
Contributor

@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.

Looks good to me, nice catch!

@Innixma Innixma merged commit d6c3ead into autogluon:master Apr 23, 2025
27 checks passed
@shchur shchur deleted the fix-zero-division branch April 23, 2025 18:41
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.

Getting ZeroDivisionError while fitting the Timeseries
2 participants