混淆矩阵:
Positive | Negative | |
True | True Positive (TP) | True Negative (TN) |
False | False Positive (FP) | False Negative (FN) |
True Positive (TP):将正类预测为正类数(真正率)
True Negative (TN):将负类预测为负类数(真负率)
False Positive (FP):将负类预测为正类数(假正率)→ 误报 (Type I error)
False Negative (FN):将正类预测为负类数(假负率)→ 漏报 (Type II error)
准确率:
精确率:
召回率:<