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

Wrong Identification of Multi-Class Classification in Metrics Calculation #38

Closed
fabiankueppers opened this issue Mar 17, 2023 · 0 comments · Fixed by #39
Closed

Wrong Identification of Multi-Class Classification in Metrics Calculation #38

fabiankueppers opened this issue Mar 17, 2023 · 0 comments · Fixed by #39

Comments

@fabiankueppers
Copy link
Collaborator

Setup:

  • Using metrics package for classification (e.g., netcal.metrics.ECE)
  • Binary classification (number of distinct ground-truth labels: 2)
  • Input array with shape (n, 2) with n samples and confidence scores for the negative/positive classes, respectively

In this scenario, the metric erroneously identifies the input as mulit-class, although the input is binary. This results in an error.

fabiankueppers pushed a commit that referenced this issue Mar 17, 2023
fabiankueppers added a commit that referenced this issue Mar 17, 2023
Bugfix for #38: Wrong multi-class identification
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 a pull request may close this issue.

1 participant