1 Dec 2005 13:51
Macro and micro-averaging (repost)
Thomas Vestskov Terney <tvt <at> ruc.dk>
2005-12-01 12:51:15 GMT
2005-12-01 12:51:15 GMT
Hi Weka people, Sorry for the post in html last time...no one replied. I can't figure out how to calculate macro vs. micro-averaging. The principle is easy to understand, but I always seem to get the same precision/recall when performing micro averaging. Can you please help me getting from a confusion matrix like this: A B C A 4 1 0 B 0 1 1 C 0 1 2 to a 2x2 contingency table for performing micro-averaging? I get macro-averaged precision to 4/5+1/2+2/3=66% and recall to 4/4+1/3+2/3=67%, and micro-averaged to precision/recall to 7/10. (If this is right, please change the numbers so that they illustrate a confusion matrix which results in different precision recall when performing micro-averaging) Cheers, Thomas PS. Does Weka perform this kind of calculation for me?
RSS Feed