使用 torch7 计算混淆矩阵的召回率和精度

Calculating Recall and precision for the Confusion matrix using torch7

我正在使用教程 supervised,我想计算召回率和准确率。教程中有计算方法吗?

我把我的数据保存在桌子上然后我用了python