Open arashno opened 8 years ago
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
hi,
I think you need to hack the ConfusionMatrix.lua file if you want to get the top-k acc.
ConfusionMatrix.lua
And there're two ways to calculate top-k acc., hope the following helps.
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