fit_mle.Bernoulli function

Fit a Bernoulli distribution to data