日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

MAP(Mean Average Precision)

發布時間:2025/7/25 编程问答 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 MAP(Mean Average Precision) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

from: http://blog.sina.com.cn/s/blog_662234020100pozd.html

MAP(Mean?Average?Precision)


MAP(Mean AveragePrecision):單個主題的平均準確率是每篇相關文檔檢索出后的準確率的平均值。主集合的平均準確率(MAP)是每個主題的平均準確率的平均值。MAP 是反映系統在全部相關文檔上性能的單值指標。系統檢索出來的相關文檔越靠前(rank越高),MAP就可能越高。如果系統沒有返回相關文檔,則準確率默認為0。
例如:假設有兩個主題,主題1有4個相關網頁,主題2有5個相關網頁。某系統對于主題1檢索出4個相關網頁,其rank分別為1, 2, 4,7;對于主題2檢索出3個相關網頁,其rank分別為1,3,5。對于主題1,平均準確率為(1/1+2/2+3/4+4/7)/4=0.83。對于主題2,平均準確率為(1/1+2/3+3/5+0+0)/3=0.7555。則MAP=(0.83+0.7555)/2=0.79。”

MRR是把標準答案在被評價系統給出結果中的排序取倒數作為它的準確度,再對所有的問題取平均。

Wiki

Precision and recall are single-value metrics based on the wholelist of documents returned by the system. For systems that return aranked sequence of documents, it is desirable to also consider theorder in which the returned documents are presented. Averageprecision emphasizes ranking relevant documents higher. It is theaverage of precisions computed at the point of each of the relevantdocuments in the ranked sequence:


where r is the rank, N the number retrieved,rel() a binary function on the relevance of a given rank,andP(r) precision at a given cut-off rank:

This metric is also sometimes referred to geometrically as thearea under the Precision-Recall curve.

Note that the denominator (number of relevant documents) is thenumber of relevant documents in the entire collection, so that themetric reflects performance over all relevant documents, regardlessof a retrieval cutoff. See:.

^Turpin, Andrew; Scholer, Falk (2006). "User performanceversus precision measures for simple search tasks". Proceedingsof the 29th Annual international ACM SIGIR Conference onResearch and Development in information Retrieval_r(Seattle,Washington, USA, August 06-11, 2006) (New York, NY: ACM):11–18.doi:10.1145/1148170.1148176

總結

以上是生活随笔為你收集整理的MAP(Mean Average Precision)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。