Skip to content

Commit

Permalink
fix typo in example
Browse files Browse the repository at this point in the history
  • Loading branch information
dmetivie committed Mar 29, 2022
1 parent 3cd216f commit ea433ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ea433ee

Please sign in to comment.