一、检测
1.TP、TN、FP、FN
True positives : 正样本被正确识别为正样本。
True negatives: 负样本被正确识别为负样本。
False positives: 假的正样本,即负样本被错误识别为正样本。
False negatives: 假的负样本,即正样本被错误识别为负样本。
2.指标
- Precision:识别出来的图片中,True positives所占的比率。 P r e c i s i o n = T P T P + F P = T P n Precision=\frac{TP}{TP+FP}=\frac{TP}{n} Precision=TP+FPTP=nTP
- Recall :所有正样本样例中,被正确识别为正样本的比例。 R e c a l l = T P T P + F N = T P G T Recall=\frac{TP}{TP+FN}=\frac{TP}{GT} Recall=TP+FN