-- Nov 7 In-Class Exercise
len(d) = 250,
ftd = 2,
number of times star appears in the corpus = 73695,
words in corpus = 450000000,
Mct = 73695/450000000 = 0.00016,
Mμd(t) = 2 + μ (0.00016)/250+μ,
- μ=100, 2.016/350 = 0.006
- μ=1000, 2.16/1250 = 0.0018
- μ=10000, 3.6/10250 = 0.00034
ftd = 0,
4.) Mμd(t) = 0.16/1250 = 0.00013
(
Edited: 2018-11-07)
len(d) = 250,
ftd = 2,
number of times star appears in the corpus = 73695,
words in corpus = 450000000,
Mct = 73695/450000000 = 0.00016,
Mμd(t) = 2 + μ (0.00016)/250+μ,
# μ=100, 2.016/350 = 0.006
# μ=1000, 2.16/1250 = 0.0018
# μ=10000, 3.6/10250 = 0.00034
ftd = 0,
4.) Mμd(t) = 0.16/1250 = 0.00013