You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/inverse_problems/petab_ode_param_fitting.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -431,19 +431,19 @@ And one additional optional argument:
431
431
Because `calibrate_model_multistart` handles initial guess sampling, unlike for `calibrate_model`, no initial guess has to be provided.
432
432
433
433
Here, we fit parameters through 10 independent optimisation runs, using QuasiMonteCarlo's `SobolSample` method, and save the result to the OptimizationRuns folder:
The best result across all runs can still be retrieved using `get_ps(res_ms, petab_problem)`, with the results of the individual runs being stored in the `res_ms.runs` field.
440
440
441
441
To load the result in a later session, we can call:
where `"OptimizationRuns"` is the name of the save directory (specified in `calibrate_model_multistart`). If the OptimizationRuns folder contains the output from several runs, we can designate which to load using the `which_run` argument. Here we load the second run to be saved in that folder:
By default, `which_run` loads the first run saved to that directory.
@@ -488,7 +488,7 @@ nothing # hide
488
488

489
489
490
490
For a multi-start calibration run, the default output is instead a so-called waterfall plot:
491
-
```@example petab1
491
+
```julia
492
492
plot(res_ms)
493
493
nothing# hide
494
494
```
@@ -499,7 +499,7 @@ nothing # hide
499
499
In the waterfall plot, each dot shows the final objective value for a single run in the multi-start process. The runs are ordered by their objective values, and colours designate runs in the same local minimum. A common use of waterfall plots is to check whether a sufficient number of runs (typically $>5$) has converged to the same best local minimum (in which case it is assumed to be the *global* minimum).
500
500
501
501
To instead use the best objective value plot for a multi-start run (with one curve for each run), the `plot_type` argument is used:
0 commit comments