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

Week 3 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

You are given a vocabulary composed of only three words: “text”, “mining”, and “research”. Below are the probabilities of two of these three words given by a unigram language model:

Word

Probability

text

0.4

mining

0.2


What is the probability of generating the phrase “text mining research” using this unigram language model?

Question 2

You are given the query Q= “food safety” and two documents:
D1 = “food quality regulations”
D2 = “food safety measures”
Assume you are using the maximum likelihood estimator  without smoothing to calculate the probabilities of words in documents (i.e., the estimated  p(w|D)  is the relative frequency of word  w  in the document  D ). Based on the unigram query likelihood model, which of the following choices is correct?

Question 3

Probability smoothing avoids assigning zero probabilities to unseen words in documents.

Question 4

Assume you are given two scoring functions:

S1(Q,D)=P(Q|D)

S2(Q,D)=logP(Q|D)

For the same query and corpus,  S1  and  S2  will give the same ranked list of documents.

Question 5

Assume you are using linear interpolation (Jelinek-Mercer) smoothing to estimate the probabilities of words in a certain document. What happens to the smoothed probability of the word when the parameter  λ  is  decreased?

Question 6

Refer to the Rocchio feedback formula in the slides. If you want to reduce the effect of the  relevant documents in the updated query, which of the following should be done?

Question 7

Assume that  β=1  is a good choice when performing relevance feedback using Rocchio's method. What is a reasonable value of  β to use when relying on pseudo feedback?

Question 8

Let  q  be the original query vector,  DR={P1,...,Pn}  be the set of positive document vectors, and  DN={N1,...,Nm}  be the set of negative document vectors. Let  q1  be the expanded query vector after applying Rocchio on  DR  and  DN  with positive parameter values  α β , and  γ . Let  q2  be the expanded query vector after applying Rocchio on  DR  and  DN  with the same values for α β , but  γ  being set to zero.

In which updated query do you expect stopwords to have higher weights?
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值