From 9053b6c462f0cffd4941f9f1b3d6df9aeb770819 Mon Sep 17 00:00:00 2001 From: Maxime Mouchet Date: Sat, 30 Mar 2019 12:30:45 +0100 Subject: [PATCH] Documentation: fix MLE example --- examples/mle.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mle.jl b/examples/mle.jl index a33e95fd..0eae679f 100644 --- a/examples/mle.jl +++ b/examples/mle.jl @@ -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) #-