Functor Distributions.Categorical.Make

module Make: 
functor (Elt : Map.OrderedType) -> S with type elt = Elt.t
Parameters:
Elt : Map.OrderedType

include Distributions.DiscreteDistribution
val create : (elt * float) array -> t
Creates a categorical distribution over values of type elt, where each value is given a probability, which defaults to 0 for values not in the list.
val mle : elt array -> t
Creates a categorical distribution with a MLE of parameters, estimated from given data.