Skip to content

Commit

Permalink
Merge pull request #196 from nathanrboyer/patch-2
Browse files Browse the repository at this point in the history
Fix broken Note
  • Loading branch information
ChrisRackauckas authored Nov 14, 2023
2 parents fbe725f + c03d4f6 commit de55263
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/src/getting_started/fit_simulation.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,10 @@ datasol = solve(prob, saveat = 1)
data = Array(datasol)
```

!!! note

!!! note

For more details on using DifferentialEquations.jl, check out the
[getting started with DifferentialEquations.jl tutorial](https://docs.sciml.ai/DiffEqDocs/stable/getting_started/).
For more details on using DifferentialEquations.jl, check out the
[getting started with DifferentialEquations.jl tutorial](https://docs.sciml.ai/DiffEqDocs/stable/getting_started/).

### Step 3: Set Up the Cost Function for Optimization

Expand All @@ -202,7 +201,7 @@ For our case, we want to change around just the parameters, so we can do `remake

!!! note

`remake` can change multiple items at once by passing more keyword arguments! I.e., `remake(prob, u0 = newu0, p = newp)`
`remake` can change multiple items at once by passing more keyword arguments, i.e., `remake(prob, u0 = newu0, p = newp)`.
This can be used to extend the example to simultaneously learn the initial conditions and parameters!

Now use `remake` to build the cost function. After we solve the new problem, we will calculate the sum of squared errors
Expand Down

0 comments on commit de55263

Please sign in to comment.