Skip to content

Methods

Every estimator is built from a frequency distribution and called to score an element (see How estimators work). Each page below gives the definition as FreqProb computes it, a worked example on the shared example counts or bigrams, its properties, the API entry and the references.

Page Estimators Input Unseen mass from
Baselines MLE, Uniform, Random counts unobs_prob (none by default)
Additive smoothing Lidstone, Laplace, ELE, Bayesian counts a pseudo-count per possible element
Simple Good–Turing SimpleGoodTuring counts the share of singletons, \(N_1/N\)
Witten–Bell WittenBell counts the number of types, \(V/(N + V)\)
Kneser–Ney KneserNey, ModifiedKneserNey bigrams discounts, shared by continuation counts
Absolute discounting and Pitman–Yor AbsoluteDiscounting, PitmanYor bigrams discounts, shared by unigram frequency
Katz and Stupid back-off KatzBackoff, StupidBackoff bigrams Good–Turing discounts (Katz); none (Stupid)
Interpolation Interpolated, JelinekMercer two distributions the lower-order model
Certainty degree CertaintyDegree (experimental) counts the plausibility of full coverage

To decide which to use, see Choosing a method. To compare them on your data, see Evaluating models.