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

Issue with Macro Average F1 Score in modAL for Multi-Class Classification #188

Open
shadikhamsehh opened this issue Jul 20, 2024 · 0 comments

Comments

@shadikhamsehh
Copy link

Hello,
I am currently using the modAL library to develop active learning strategies. My project involves multi-class classification implemented with PyTorch, utilizing DinoV2 as the backbone model. I have encountered an issue with the macro average F1 score in my active learning loop.

When I used the macro average F1 score, the results were unsatisfactory. The active learning loop remained stuck at one F1 score value during each iteration. However, when I switched to the micro average F1 score, the results improved significantly.

I am confident in the quality of my dataset and the factors influencing it, as it performs well with other strategies using multi-class classification and the macro F1 score. Therefore, I suspect there might be an issue related to modAL's handling of the macro average F1 score.

I would like to know if there are any known inconsistencies or issues with using macro averaging in modAL when working on multi-class classification.

Thank you for your guidance in advance.

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