Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

metric should have TP FP TN FN Precision Recall F1 for both macro and micro versions #9588

@szha

Description

@szha

Related to #9587. The current logic only supports what's called "macro F1" logic where we take the mean of F1 scores for mini-batches. "micro F1" should also be supported by keeping the tp, fp, fn counts across batches.
Note that these metrics share the counter logics so we should be mindful when doing oo design.

https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/metric.py

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions