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

Macro averaging of metrics #130

Open
Vynikal opened this issue Jun 12, 2024 · 0 comments
Open

Macro averaging of metrics #130

Vynikal opened this issue Jun 12, 2024 · 0 comments

Comments

@Vynikal
Copy link

Vynikal commented Jun 12, 2024

In metric_callbacks.py, lines 34-36
def _metrics_factory(self, by_class=False): average = None if by_class else "micro" average_iou = None if by_class else "macro" # special case, only mean IoU is of interest

This results in equal metrics of overall accuracy, recall, precision and f1-score. Wouldn't it be better to average 'macro', as the resulting metrics would be unambiguous?
(except for accuracy)

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