| Trees | Indices | Help |
|
|---|
|
|
object --+
|
ProbDistI --+
|
GoodTuringProbDist
The Good-Turing estimate of a probability distribution. This method calculates the probability mass to assign to events with zero or low counts based on the number of events with higher counts. It does so by using the smoothed count c*:
where c is the original count, N(i) is the number of event types observed with count i. We can think the count of unseen as the count of frequency one. (see Jurafsky & Martin 2nd Edition, p101)
|
|||
|
|||
string
|
|
||
float
|
|
||
|
|||
| any |
|
||
| float |
|
||
list
|
|
||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
repr(x)
|
|
|
|
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:59 2012 | http://epydoc.sourceforge.net |