Precision/recall for multiclass-multilabel classification

后端 未结 5 1727
南旧
南旧 2020-12-13 07:01

I\'m wondering how to calculate precision and recall measures for multiclass multilabel classification, i.e. classification where there are more than two labels, and where e

5条回答
  •  旧时难觅i
    2020-12-13 07:25

    The answer is that you have to compute precision and recall for each class, then average them together. E.g. if you classes A, B, and C, then your precision is:

    (precision(A) + precision(B) + precision(C)) / 3
    

    Same for recall.

    I'm no expert, but this is what I have determined based on the following sources:

    https://list.scms.waikato.ac.nz/pipermail/wekalist/2011-March/051575.html http://stats.stackexchange.com/questions/21551/how-to-compute-precision-recall-for-multiclass-multilabel-classification

提交回复
热议问题