SciML / SciML/DataDrivenDiffEq.jl
Bad `ISINDy` results from trivial linear function.
Open
@AlCap23 is already working on this.
Since Mar 19, 2021.
bug
- Dominant language
- Julia
- Stars
- 430
- Forks
- 58
- Avg merge
- 6h 29m
- Merged PRs (30d)
- 28
Description
Hi,
I've had some trouble with ISINDy results that I don't think makes any sense so I created a very small example (y = a*x + b) that "should" work but it turns out that it does not.
using DataDrivenDiffEq, ModelingToolkit
@variables A
x = permutedims(collect(1.:10))
y = 2 .+ 3 .* x
Ψ = ISINDy(x, y, Basis([1, A, A^2], [A]), ADM(1.1e-1))
print_equations(Ψ)
##Basis#1576 : 1 dimensional basis in ["A"]
Parameters : Sym{ModelingToolkit.Parameter{Real},Nothing}[p₁, p₂, p₃, p₄, p₅]
Independent variable: t
Equations
φ₁ = ((-p₂) - (A*p₄) - (p₅*(A^2)))*((p₁ + (A*p₃))^-1)
Should this example not work?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.