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/introduction_to_catalyst/catalyst_for_new_julia_users.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,8 @@ typeof(1)
37
37
38
38
Finally, we note that the first time some code is run in Julia, it has to be *compiled*. However, this is only required once per Julia session. Hence, the second time the same code is run, it runs much faster. E.g. try running this line of code first one time, and then one additional time. You will note that the second run is much faster.
39
39
```@example ex1
40
-
rand(100, 100)^3.5;
40
+
rand(100, 100)^3.5
41
+
nothing # hide
41
42
```
42
43
(This code creates a random 100x100 matrix, and takes it to the power of 3.5)
Copy file name to clipboardExpand all lines: docs/src/inverse_problems/petab_ode_param_fitting.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,8 +103,10 @@ nothing # hide
103
103
### Fitting parameters
104
104
We are now able to fit our model to the data. First, we create a `PEtabODEProblem`. Here, we use `petab_model` as the only input, but it is also possible to set various [numeric solver and automatic differentiation options](@ref petab_simulation_options) (such as method or tolerance).
Since no additional input is given, default options are selected by PEtab.jl (and generally, its choices are good).
110
112
@@ -380,11 +382,16 @@ While in our basic example, we do not provide any additional information to our
380
382
381
383
Here is an example, taken from the [more detailed PEtab.jl documentation](https://sebapersson.github.io/PEtab.jl/dev/Boehm/#Creating-a-PEtabODEProblem)
where we simulate our ODE model using the `Rodas5p` method (with absolute and relative tolerance both equal `1e-8`) and use [forward automatic differentiation](https://github.com/JuliaDiff/ForwardDiff.jl) for both gradient and hessian computation. More details on available ODE solver options can be found in [the PEtab.jl documentation](https://sebapersson.github.io/PEtab.jl/dev/API_choosen/#PEtab.ODESolver).
390
397
@@ -411,8 +418,10 @@ This is required for the various [optimisation evaluation plots](@ref petab_plot
411
418
## Objective function extraction
412
419
While PEtab.jl provides various tools for analysing the objective function generated by `PEtabODEProblem`, it is also possible to extract this function for customised analysis. Given a `PEtabODEProblem`
0 commit comments