Skip to content

Commit bfa65e6

Browse files
committed
Separates the last section with subheading
1 parent 0c9535c commit bfa65e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/src/tutorials/parameter_estimation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,10 @@ plot!(sol_estimate,color=[:darkblue :darkred], linestyle=:dash,lw=3,label=["X es
8888
```
8989
![parameter_estimation_plot4](../assets/parameter_estimation_plot4.svg)
9090

91-
The final parameter set becomes `[0.9996559014056948, 2.005632696191224]` (the real one was [1.0, 2.0]`).
91+
The final parameter set becomes `[0.9996559014056948, 2.005632696191224]` (the real one was `[1.0, 2.0]`).
9292

9393

94+
### Why we fit the parameters in iterations.
9495
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.
9596
```julia
9697
p_estimate = optimise_p([5.,5.],30.).minimizer

0 commit comments

Comments
 (0)