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 Macro-F1 & Use train labels by default #135

Merged
merged 7 commits into from
Dec 20, 2021
Merged

Fix Macro-F1 & Use train labels by default #135

merged 7 commits into from
Dec 20, 2021

Conversation

Eleven1Liu
Copy link
Collaborator

@Eleven1Liu Eleven1Liu commented Dec 16, 2021

Description

  1. Use train labels by default. If include_test_labels is true, use labels in both training and test dataset.
  2. Add class Macro-F1 for calculating the mean f1 scores of ALL labels in the dataset like torchmetrics==0.3.2 does.

@Eleven1Liu Eleven1Liu changed the title Use train labels by default Fix Macro-F1 & Use train labels by default Dec 19, 2021
libmultilabel/metrics.py Outdated Show resolved Hide resolved
@Eleven1Liu Eleven1Liu merged commit d0667be into master Dec 20, 2021
@Eleven1Liu Eleven1Liu deleted the labels branch December 20, 2021 07:45
@Sinacam Sinacam mentioned this pull request Dec 23, 2021
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.

None yet

2 participants