Skip to content

Commit

Permalink
Separates the last section with subheading
Browse files Browse the repository at this point in the history
  • Loading branch information
TorkelE committed Feb 17, 2021
1 parent 0c9535c commit bfa65e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/tutorials/parameter_estimation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bfa65e6

Please sign in to comment.