参考:
https://scikit-learn.org/stable/modules/generated/sklearn.metrics.classification_report.html#sklearn.metrics.classification_report
https://blog.csdn.net/comway_Li/article/details/102758972
对应关系:accuracy 就是之前的acc,
macro avg recall就是之前的mA,
macro avg precsion是mPrec
weighted不常用
micro和accuracy的关系:
The reported averages include macro average (averaging the unweighted mean per label)
weighted average (averaging the support-weighted mean per label), and sample average (only for multilabel classification).
Micro average (averaging the total true positives, false negatives and false positives) is only shown for multi-label or multi-class with a subset of classes, because it corresponds to accuracy otherwise.
micro average只能用于一个多类别评测的子类别,因为本质上就是accuracy。