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
Use other solvers than Tsit5 in multiple_shoot (#521)
* Fix parameter name in docstring
* Fix error message
should say `< 1` and `> number of data points` instead of `<=` and `>=`.
* Relax types
* Make code solver agnostic
instead of relying on hardcoded `Tsit5()`.
* Remove preset grp_size from docstring
Preset grp_size might lead to DomainErrors if the dataset has less than 5 data points.
* Update tests to solver agnostic interface, add DomainError test
* Update docs to use solver agnostic multiple shooting
* Update Project.toml
* Update Project.toml
Co-authored-by: Christopher Rackauckas <[email protected]>
- `p`: The parameters of the Neural Network to be trained.
@@ -14,40 +14,51 @@ Arguments:
14
14
- `prob`: ODE problem that the Neural Network attempts to solve.
15
15
- `loss_function`: Any arbitrary function to calculate loss.
16
16
- `grp_size`: The group size achieved after splitting the ode_data into equal sizes.
17
-
- `continuity_strength`: Multiplying factor to ensure continuity of predictions throughout different groups.
17
+
- `continuity_term`: Multiplying factor to ensure continuity of predictions throughout different groups.
18
18
19
19
!!!note
20
-
The parameter 'continuity_strength' should be a relatively big number to enforce a large penalty whenever the last point of any group doesn't coincide with the first point of next group.
20
+
The parameter 'continuity_term' should be a relatively big number to enforce a large penalty whenever the last point of any group doesn't coincide with the first point of next group.
0 commit comments