Skip to content

Commit 9d4d302

Browse files
Fix documentation grammar and clarity issues
- Fix comma usage in ContinuousDataDrivenProblem description for better clarity - Fix backtick placement in DataDrivenDataset description - Change "system" to "systems" (plural) in DataDrivenSparse description - Add missing subject "We" in sentence about expressing unknown functions These changes improve the clarity and grammatical correctness of the documentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent 9a16b75 commit 9d4d302

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/src/libs/datadrivensparse/sparse_regression.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# DataDrivenSparse
22

3-
DataDrivenSparse provides a universal framework to infer system of equations using sparse regression. Assume the system:
3+
DataDrivenSparse provides a universal framework to infer systems of equations using sparse regression. Assume the system:
44

55
```math
66
y_{i} = f(x_{i}, p, t_i, u_{i})
77
```
88

9-
Then might be able to express the unknown function $f$ as a linear combination of basis elements $\varphi_i : \mathbb R^{n_x} \times \mathbb R^{n_p} \times \mathbb R \times \mathbb R^{n_u} \mapsto \mathbb R$ .
9+
We might then be able to express the unknown function $f$ as a linear combination of basis elements $\varphi_i : \mathbb R^{n_x} \times \mathbb R^{n_p} \times \mathbb R \times \mathbb R^{n_u} \mapsto \mathbb R$ .
1010

1111
```math
1212
y_i = \sum_{j=1}^k \xi_k ~ \varphi_k\left(x_i, p, t_i, u_i \right)

docs/src/problems.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ problem = DiscreteDataDrivenProblem(X, t, U, p = p)
1616
problem = DiscreteDataDrivenProblem(X, t, (x, p, t) -> u(x, p, t))
1717
```
1818

19-
Similarly, a [`ContinuousDataDrivenProblem`](@ref) would need at least measurements and time-derivatives (`X` and `DX`) or measurements, time information and a way to derive the time derivatives(`X`, `t` and a [Collocation](@ref collocation) method). Again, this can be extended by including a control input as measurements or a function and possible parameters:
19+
Similarly, a [`ContinuousDataDrivenProblem`](@ref) would need at least measurements and time-derivatives (`X` and `DX`) or measurements, time information, and a way to derive the time derivatives (`X`, `t`, and a [Collocation](@ref collocation) method). Again, this can be extended by including a control input as measurements or a function and possible parameters:
2020

2121
```julia
2222
# Using available data
@@ -65,7 +65,7 @@ DirectDataDrivenProblem
6565
DataDrivenDataset
6666
```
6767

68-
A `DataDrivenDataset` collects several [`DataDrivenProblem`s](@ref problem) of the same type but treats them as a union for system identification.
68+
A `DataDrivenDataset` collects several [`DataDrivenProblem`](@ref problem)s of the same type but treats them as a union for system identification.
6969

7070
## Concrete Types
7171

0 commit comments

Comments
 (0)