From ea433ee40f949a3e9032847a56391b7d023a41ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20M=C3=A9tivier?= <46794064+dmetivie@users.noreply.github.com> Date: Tue, 29 Mar 2022 13:49:02 +0200 Subject: [PATCH] fix typo in example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b2dd96d..0a9ac59 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ y = rand(mix_true, N) ```julia # Initial guess -mix_mle = fit_mle(mix_guess, y; display = :iter, tol = 1e-3, robust = false, infos = false) +mix_guess = MixtureModel([Exponential(1), Gamma(0.5, 1)], [0.5, 1 - 0.5]) # Fit the MLE with the EM algorithm mix_mle = fit_mle(mix_guess, y; display = :iter, tol = 1e-3, robust = false, infos = false)