Skip to content

Macro averaging of metrics #130

Open
@Vynikal

Description

@Vynikal

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions