From bfa65e6db20c76f8b63cba637b4f8938c66b7b69 Mon Sep 17 00:00:00 2001 From: Torkel Date: Wed, 17 Feb 2021 21:12:47 +0000 Subject: [PATCH] Separates the last section with subheading --- docs/src/tutorials/parameter_estimation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/src/tutorials/parameter_estimation.md b/docs/src/tutorials/parameter_estimation.md index 33b1602222..c2f94e9a9e 100644 --- a/docs/src/tutorials/parameter_estimation.md +++ b/docs/src/tutorials/parameter_estimation.md @@ -88,9 +88,10 @@ plot!(sol_estimate,color=[:darkblue :darkred], linestyle=:dash,lw=3,label=["X es ``` ![parameter_estimation_plot4](../assets/parameter_estimation_plot4.svg) -The final parameter set becomes `[0.9996559014056948, 2.005632696191224]` (the real one was [1.0, 2.0]`). +The final parameter set becomes `[0.9996559014056948, 2.005632696191224]` (the real one was `[1.0, 2.0]`). +### Why we fit the parameters in iterations. The reason we chose to fit the model on a smaller interval to begin with, and then extend the interval, is to avoid getting stuck in a local minimum. Here specifically, we chose our initial interval to be smaller than a full cycle of the oscillation. If we had chosen to fit a parameter set on the full interval immediately we would have received an inferior solution. ```julia p_estimate = optimise_p([5.,5.],30.).minimizer