详情见mAP
1. Precision and Recall
2. Average precision
对于返回已排序文档序列的系统,AP考虑了返回文档的呈现顺序。AP定义为召回率 (recall) r从0到1的平均精确度 (precision),即Precision-Recall曲线下的面积,也即
在离散情况下,公式可写为:
其中,k代表当前文档的排名,当k是相关文档时,为1,否则为0;是以k为截点的精确度,可理解为在k前面全部检索文件的精确度。
3.mean average precision
mean average precision 就是全部查询的平均AP
是查询个数。