Skip to content

Commit 998776e

Browse files
authored
Revert to using SobolSample
1 parent fcad601 commit 998776e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/inverse_problems/petab_ode_param_fitting.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,14 +435,14 @@ And two additional optional argument:
435435

436436
Because `calibrate_multistart` handles initial guess sampling, unlike for `calibrate`, no initial guess has to be provided.
437437

438-
Here, we fit parameters through 10 independent optimisation runs, using QuasiMonteCarlo's `LatinHypercubeSample` method, and save the result to the OptimisationRuns folder:
438+
Here, we fit parameters through 10 independent optimisation runs, using QuasiMonteCarlo's `SobolSample` method, and save the result to the OptimisationRuns folder:
439439
```@example petab1
440440
using Optim
441441
using QuasiMonteCarlo
442442
mkdir("OptimisationRuns") # hide
443443
res_ms = calibrate_multistart(petab_problem, IPNewton(), 10; dirsave = "OptimisationRuns",
444-
sampling_method = QuasiMonteCarlo.LatinHypercubeSample())
445-
res_ms = calibrate_multistart(petab_problem, IPNewton(), 10; dirsave = "OptimisationRuns", sampling_method = QuasiMonteCarlo.LatinHypercubeSample()) # hide
444+
sampling_method = QuasiMonteCarlo.SobolSample())
445+
res_ms = calibrate_multistart(petab_problem, IPNewton(), 10; dirsave = "OptimisationRuns", sampling_method = QuasiMonteCarlo.SobolSample()) # hide
446446
nothing # hide
447447
```
448448
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.

0 commit comments

Comments
 (0)