ChrisRackauckas / universal_differential_equations

Repository for the Universal Differential Equations for Scientific Machine Learning paper, describing a computational basis for high performance SciML
https://arxiv.org/abs/2001.04385
MIT License
215 stars 59 forks source link

MethodError: objects of type SparseIdentificationResult are not callable #19

Open matutenun opened 4 years ago

matutenun commented 4 years ago

https://github.com/ChrisRackauckas/universal_differential_equations/blob/dd836890e7e09923a0ae9ed8b6b49d2ee64b2e6a/SEIR_exposure/seir_exposure.jl#L235

I get this error when attempting to the function as it is "MethodError: objects of type SparseIdentificationResult are not callable"

AlCap23 commented 4 years ago

It seems you are using a newer version of DataDrivenDiffEq. The original script has been written with v0.1.4 in mind, but the SparseIdentificationResult has been introduced later.

Did you activate the env within the SEIR_exposure folder ?

matutenun commented 4 years ago

i imagined something like that was the issue. I did not activate env, just went around by defining the Ψ function by hand using the found terms. Will have to check the updated way to do this.