Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 477 Bytes

15_分类指标_课堂笔记.md

File metadata and controls

27 lines (15 loc) · 477 Bytes

分类指标

精度

分类正确的样本占样本总数的比例 Acc = $\frac{TP + TN}{TP + TN + FP + FN}$

准确率

预测为1的样本中标签为1的比例 Precision = $\frac{TP}{TP + FP}$

召回率

标签为1的样本中预测为1的比例 Recall = $\frac{TP}{TP + FN}$

F1度量

召回率和准确率的权衡 F1= $\frac{2 * Precision * Recall}{Precision + Recall}$

ROC曲线

AUC面积能判断分类器的排序能力