-
-
Notifications
You must be signed in to change notification settings - Fork 58
Open
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?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working