I would like to build a do my performance evaluation on top 3 predictions (by that, I mean, top N classes that are the most probable to assign an item, within a cross-validation).
Of course, I can keep the cross-validation result, go through each and look into the probabilities of assignment, sort them and pick the top 3 ones, and then build my confusion matrix. But I wonder if the functionality already exist?