Comments (4)
Closing this as just a versioning issue. Since the real term is not in the dictionary (it's something to the 1126 power or something like that, see the equations), it's not defined what term will happen even as data->infinity. This is unlike the Lotka-Volterra example, where the true term is in the dictionary so you should get it when the data is large enough. Here, you get a sparse approximating model. We noticed that after SInDy was updated to a more optimized optimizer, it turned out this term changed a little bit from the linear one to one with some nonlinear interactions (the two you show here). Both extrapolate fine, so I'm sure you can tune the parameters of SInDy to pull out slightly different models (but if you raise the threshold too high you get something not sparse of course).
So I wouldn't say this is a versioning issue but rather a modeling question, as the sparse fitting forms are not unique here, but still give different forms that both extrapolate well. I don't know how to highlight this well but hopefully it's clear from playing around with it.
from universal_differential_equations.
thanks for you answer Chris. If i understand correct, both basis should extrapolate in a similar way... but It does not seem to be the case here. The one I got straight from running the example does not seem to do a good job. But! I will double check everything now that I updated all the packages. I was having issues with line 235 z = Ψ([S/N,I,D/N]) with the error "MethodError: objects of type SparseIdentificationResult are not callable" so I had to code the function by directly inserting F([S/N,I,D/N])= p₁ * u₂ + u₁ * u₂ * p₂ + u₁ ^ 2 * u₂ * p₃ . Thus I could and probably be wrong. Will follow up here. Thanks!
from universal_differential_equations.
Interesting. I'd say file an issue on DataDrivenDiffEq if something seems up. We should make that have integration tests with these examples.
from universal_differential_equations.
I'll have a look asap, so possibly within the next week. Definitely will update the example with a PR to match the interface.
from universal_differential_equations.
Related Issues (20)
- "MethodError: objects of type SparseIdentificationResult are not callable"
- line 207 error DimensionMismatch("arrays could not be broadcast to a common size; got a dimension with lengths 22 and 106") HOT 1
- recompile after activating HOT 1
- type SparseIdentificationResult has no field basis HOT 15
- `MethodError: no method matching SInDy` in DelayLotkaVolterra/VolterraExp.jl HOT 12
- Application to a different system of ODEs HOT 4
- training method for multiple neural-nets in universal ODEs HOT 2
- Instability detected in Fisher-KPP example HOT 4
- LotkaVolterra manifest file outdated HOT 12
- Lotka volterra UDE not recovered as per paper HOT 6
- outdated / soon to be outdated example codes HOT 1
- Has this paper been published on a journal or a conference? HOT 1
- UDE giving Linear Approximation / NeuralODEMM problems
- SEIR Example HOT 8
- Hudson Bay HOT 17
- Non Newtonian Fluids: FENE-P example error HOT 4
- LV Scenario 2 HOT 4
- OptimizationFunction Definition HOT 3
- No matching function wrapper found HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from universal_differential_equations.