首页 技术 正文
技术 2022年11月20日
0 收藏 731 点赞 2,583 浏览 1287 个字

无序检索结果的评价方法:

[IR] Evaluation

Precision
 P
 =
tp/(tp
+
fp)

Recall

 



R
     =
tp/(tp
+
fn)


Accuracy   = (tp + tn) / ( tp + fp + fn + tn)

[IR] Evaluation


有序检索结果的评价方法:

A precison-recall curve

[IR] Evaluation

调式search engine目前只是针对一个Query的表现。

You
 need
 to
 average
 performance 
over
 a
 whole bunch of queries.

其实,就是在遵从precision降低,必然提高recall的原则下,画出趋势图。(也就是插值法 Interpolated
 Precision)

[IR] Evaluation

What is the interpolated precision of the system at 25% recall? 

1.0, 0.67, 0.5, 0.4, 0.36, 0.36, 0.36

[IR] Evaluation

Mean average precision (MAP)

System: D1, D2, D4, D3

k = 1, R, 1/1

k = 2, NR, n/a

k = 3, NR, n/a

k = 4, R, 2/4

MAP = (1/1+2/4)/2 = 3/4

What is the largest possible mean average precision that this system could have?

If the last two relevant documents are in ranking 21 and 22. 尽量早出现

MAP = (1.0+1.0+0.33+0.36+0.33+0.3+0.33+0.36)/8 = 0.503

What is the smallest possible mean average precision that this system could have?

If the last two relevant documents are in ranking 9999 and 10000. 尽量晚出现

MAP = (1.0+1.0+0.33+0.36+0.33+0.3+0.0007+0.0008)/6 = 0.416

用已有的MAP去估计未来可能的MAP的error是多少?

MAP = (1.0 + 1.0 + 0.33 + 0.36 + 0.33 + 0.3)/6 = 0.555

The error could be 0.555 – (0.503 + 0.416)/2 = 0.095

 

Kappa Measure

P(A) = Accuracy

P(E) = [ (person1-yes + person2-yes)/(total*2) ]^2 + [ (person1-no + person2-no)/(total*2) ]

Kappa
=
[
P(A)
–
P(E)
]
/
[
1
–
P(E)
]

Kappa
 > 
0.8                // good
 agreement

0.67
 < 
Kappa 
< 
0.8
     // “tentative
 conclusions”
(CarleSa


’96)



相关反馈:有点reinforcement learning的意思。

[IR] Evaluation

[IR] Evaluation

<!–
@page { margin: 2cm }
p { margin-bottom: 0.25cm; line-height: 120% }
–>

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,077
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,552
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,401
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,176
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,813
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,896