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 incorrect handling of labels in ClassificationMetric #3289

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

yifanmai
Copy link
Collaborator

This normalizes the provided labels before providing it to the MultiLabelBinarizer. Also, it warns users about missing labels only if the labels are actually missing.

@yifanmai yifanmai merged commit 2ef0d9b into main Jan 23, 2025
8 checks passed
@yifanmai yifanmai deleted the yifanmai/fix-classification-labels-bugs branch January 23, 2025 04:37
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.

1 participant