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

Initiating Recalls_mt with num_classes = 6 by default #5

Open
jfltzngr opened this issue Jun 8, 2022 · 0 comments
Open

Initiating Recalls_mt with num_classes = 6 by default #5

jfltzngr opened this issue Jun 8, 2022 · 0 comments

Comments

@jfltzngr
Copy link
Collaborator

jfltzngr commented Jun 8, 2022

Environment info

  • bikit version: 0.0.11
  • Platform: --
  • Used Versions: --

Information

In Class Recalls_mt(Recall):
We shouldn't initiate num_classes inside def __init__(self, average='none', num_classes=6) with 6 (Only valid for CODEBRIM).
Otherwise, users might have difficulties when being confronted with the Error that num_classes don't match the input.

To reproduce

--

Expected behavior

assert if num_classes is given.

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

No branches or pull requests

1 participant