You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to get top-5 or top-3 accuracy by ConfusionMatrix? #140
Hello all,
Can I use ConfusionMatrix to compute top-n accuracy for my classifier or not?
If yes, how can I do that? Is there any sample code to do that?
Thanks
Activity
taineleau-zz commentedon Oct 13, 2016
hi,
I think you need to hack the
ConfusionMatrix.luafile if you want to get the top-k acc.And there're two ways to calculate top-k acc., hope the following helps.