UIUC大学之Coursera课程Text Retrieval and Search Engines:Week 2 Practice Quiz

Week 2 Practice QuizHelp Center

Warning: The hard deadline has passed. You can attempt it, but you will not get credit for it. You are welcome to try it as a learning exercise.

Question 1

Suppose a query has a total of 5 relevant documents in a collection of 100 documents. System A and System B have each retrieved 10 documents, and the relevance status of the ranked lists is shown below: 

	System A: [+ + - - - - - - - -]
	System B: [- + - - + - - - - +]

where the leftmost entry corresponds to the highest ranked document, and the rightmost entry corresponds to the lowest ranked document. A “+” indicates a relevant document and a “-” corresponds to a non-relevant one. For example, the top ranked document retrieved by System A is relevant whereas the top ranked one by B is non-relevant. 

What is the  precision at 10 documents of both systems?

Question 2

Assume the same scenario as in Question 1. What is the  recall of both systems?

Question 3

Assume the same scenario as in Question 1. What is the  average precision of both systems?

Question 4

Let w 1, w 2, and w 3 represent three words in the dictionary of an inverted index. Suppose we have the following document frequency distribution: 

WordDocument Frequency
w11
w25
w310


Assume that each posting entry of document ID and term frequency takes exactly the same disk space. Which word's postings list will occupy the largest disk space?

Question 5

Assume we have the same scenario as in Question 4. If we enter a query Q= “w 1 w 2 w 3” then the  maximum possible number of accumulators needed to score all the matching documents is:

Question 6

Assume that d-gap between two documents is equal to 9. If you want to compress this d-gap with a  gamma code, what will be the binary representation of the code?

Question 7

Assume you have two retrieval systems X and Y. If X has a higher MAP (mean average precision), can Y have a higher gMAP (geometric mean average precision)?
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值