NCHU Dept. of MIS, 黃維尼部落格

2012年5月24日 星期四

[學術筆記] Precision and Recall



依照從wikipedia上的定義來看:


  • Precision Relevant Documents Retrieved / Total Retrieved Documents
  • Recall Relevant Documents Retrieved / Total Relevant Docuements

Precision可以叫做是查準率、Recall可以叫做是查全率。
例如今天某一資料庫裡面有一domain(例如:音樂)的corpus,corpus裡面有120份document(在這裡可以把它當作是文章)。
那麼total retrieved document=120。
今天我們下關鍵字進行搜尋,搜尋到了五篇文章,則total reteieved documents=5。
若裡面有四篇文章是屬於這個domain的ducument,則relevant documents retrieved=4。

由上述來看,Precision= 4 / 5 =80%
                        Recall=4 / 120 = 33.4%



19 則留言:

歡迎路過的部落客留下您的意見或建議,有興趣的主題,也歡迎一起討論作分享喔^^