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

Fix issue with MedianCDFQuantileScorer #1080

Merged
merged 1 commit into from
Nov 21, 2023
Merged

Fix issue with MedianCDFQuantileScorer #1080

merged 1 commit into from
Nov 21, 2023

Conversation

bloebp
Copy link
Member

@bloebp bloebp commented Nov 20, 2023

Before, the scorer was not able to handle numpy object types directly. However, GCM often uses the object dtype to ensure support of mixing categorical and float values. This fixes the handling of object dtypes by explicitly converting them to floats first.

Before, the scorer was not able to handle numpy object types directly. However, GCM often uses the object dtype to ensure support of mixing categorical and float values. This fixes the handling of object dtypes by explicitly converting them to floats first.

Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>
@bloebp bloebp merged commit cae656a into main Nov 21, 2023
28 of 30 checks passed
@bloebp bloebp deleted the fix_median_object_type branch November 21, 2023 15:07
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