estimators-0.1.4: Tool for managing probability estimationSource codeContentsIndex
NLP.Probability.Distribution
Contents
Distributions
Synopsis
type Prob = Double
type Distribution event = event -> Prob
mle :: Event event => Estimator event
laplace :: Event event => (Double, Double) -> Estimator event
Distributions
Some very simple ways of estimating probabilities from observations. Will expand in the future.
type Prob = DoubleSource
type Distribution event = event -> ProbSource
mle :: Event event => Estimator eventSource
Maximum Likelihood Estimation gives out probability by normalizing over observed events. Unseen events are gived zero probabilty.
laplace :: Event event => (Double, Double) -> Estimator eventSource
Produced by Haddock version 2.6.0