Slide 5
Slide 5 text
Example retrieval func ons
• General scoring function
score(d, q) =
t∈q
wt,d × wt,q
• Example 2: Instead of using raw term frequencies, assign a weight that reflects
the term’s importance
wt,d =
1 + log ct,d, ct,d > 0
0, otherwise
◦ where ct,d
is the number of occurrences of term t in document d
wt,q = ct,q
◦ where ct,q
is the number of occurrences of term t in query q
5 / 48