mtcnn
conf_mat = confusionmat(y_true, y_pred);
                                % 首先根据数据集上的真实 label 值,和训练算法给出的预测 label 值,
                                % 计算 confusion matrix

conf_mat = bsxfun(@rdivide, conf_mat, sum(conf_mat, 2));
accuracy = mean(diag(conf_mat));
                                % 对角线上的准确率的均值即为最终的 accuracy;

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
  • 2021-09-17
  • 2021-11-19
猜你喜欢
  • 2021-11-11
  • 2022-12-23
  • 2021-11-11
  • 2021-04-14
  • 2021-10-03
相关资源
相似解决方案