Skip to content

Commit

Permalink
bump DataInterpolations
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 committed Sep 24, 2024
1 parent 394806c commit b256e1e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Boltz = "1"
ChainRulesCore = "1"
ComponentArrays = "0.15.17"
ConcreteStructs = "0.2"
DataInterpolations = "5, 6"
DataInterpolations = "6.4"
DelayDiffEq = "5.47.3"
DiffEqCallbacks = "3.6.2"
Distances = "0.10.11"
Expand Down
2 changes: 1 addition & 1 deletion docs/src/examples/multiple_shooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ group_size = 3
continuity_term = 200
l1, preds = multiple_shoot(ps, ode_data, tsteps, prob_node, loss_function,
Tsit5(), group_size; continuity_term)
Tsit5(), group_size; continuity_term)
function loss_function(data, pred)
return sum(abs2, data - pred)
Expand Down
4 changes: 2 additions & 2 deletions docs/src/examples/neural_ode.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function callback(state, l; doplot = false)
end
pinit = ComponentArray(p)
callback((;u = pinit), loss_neuralode(pinit); doplot = true)
callback((; u = pinit), loss_neuralode(pinit); doplot = true)
# use Optimization.jl to solve the problem
adtype = Optimization.AutoZygote()
Expand All @@ -74,7 +74,7 @@ optprob2 = remake(optprob; u0 = result_neuralode.u)
result_neuralode2 = Optimization.solve(
optprob2, Optim.BFGS(; initial_stepnorm = 0.01); callback, allow_f_increases = false)
callback((;u = result_neuralode2.u), loss_neuralode(result_neuralode2.u); doplot = true)
callback((; u = result_neuralode2.u), loss_neuralode(result_neuralode2.u); doplot = true)
```

![Neural ODE](https://user-images.githubusercontent.com/1814174/88589293-e8207f80-d026-11ea-86e2-8a3feb8252ca.gif)
Expand Down

0 comments on commit b256e1e

Please sign in to comment.