精度得分与混淆矩阵和精度公式不匹配

时间:2019-12-16 06:27:52

标签: machine-learning scikit-learn classification confusion-matrix precision-recall

classification_metrics = metrics.classification_report(y_test, preds, target_names=diseases)
print(classification_metrics)

B_spot精度与混淆矩阵值不匹配,请问这是什么原因。如果我使用CM进行计算,则报告中的头等舱会有差异。除了第一个以外,其余所有内容都是正确的。

B_spot precision is not matching with the confusion matrix values, may I know what could be the reason

0 个答案:

没有答案