1、混淆矩阵
| Predicted | |||
| Positive | Negative | ||
| Actual | Positive | TP 真正 (True Positive) |
FN 假负 (False Negative) |
| Negative | FP 假正 (False Positive) |
TN 正负 (True Negative) |
|
2、评价指标计算公式
准确率Precision =
召回率 Recall = TPR =
假正率 FPR =
F1值 =
3、调整阈值,获取混淆矩阵
| Predicted | |||
| Positive | Negative | ||
| Actual | Positive | TP 真正 (True Positive) |
FN 假负 (False Negative) |
| Negative | FP 假正 (False Positive) |
TN 正负 (True Negative) |
|
准确率Precision =
召回率 Recall = TPR =
假正率 FPR =
F1值 =
相关文章: