Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Commit

Permalink
Documentation: fix MLE example
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmouchet committed Mar 30, 2019
1 parent cee8748 commit 9053b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/mle.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ plot(y, linetype=:steppre, size=(600,200))
# For now `HMMBase` does not handle the initialization of the parameters.
# Hence we must instantiate an initial HMM by hand.

hmm = HMM([0.5 0.5; 0.5 0.5], [Normal(0,1), Normal(10,1)])
hmm = HMM([0.5 0.5; 0.5 0.5], [Normal(-1,1), Normal(15,1)])
hmm, log_likelihood = fit_mle!(hmm, y, verbose=true)
#-

Expand Down

0 comments on commit 9053b6c

Please sign in to comment.