Hi, I just started using Julia, on a Macbook Air with M2 chip. I am trying to run the Lotka-Volterra optimization example (https://docs.juliahub.com/DiffEqFlux/BdO4p/1.10.3/examples/LV-ODE/) verbatim, after installing all the required packages. I continue getting this error:
ERROR: UndefVarError: sciml_train
not defined
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base ./Base.jl:31
[2] top-level scope
@ ~/Library/CloudStorage/Dropbox/Work/JuliaOptTests/test_odeopt_ml.jl:67
I have tried updating the packages, restarting, etc, but I continue to get this error. What am I doing wrong? Is there a bug in the package?
The problem is that is not the right documentation. If you use the package’s documentation things will work. I think you’re looking for:
https://docs.sciml.ai/SciMLSensitivity/stable/tutorials/parameter_estimation_ode/
Thank you! I didn’t know to watch out for different documentation for different versions. (The one above is what pops up in google when I search for “Julia ODE parameter estimation”).
I have another question – the example in the documentation above uses a package OptimizationPolyalgorithms. Where can I find documentation about this package? It doesn’t seem to be listed in the list of packages in the Optimization.jl documentation – see eg the left-hand side bar in https://docs.sciml.ai/Optimization/stable/optimization_packages/optimisers/#Installation:-OptimizationFlux.jl, and the only documentation I can find online through juliahub appears to be empty: https://docs.juliahub.com/OptimizationPolyalgorithms/2YgTO/0.1.0/ .
Is there documentation on this package somewhere? If not, would a similar package be OptimizationOptimisers?
There just isn’t yet. I need to write something on the polyalgorithms, that one is my fault . You can just not use the polyalgorithm for now if you don’t want, using Adam or BFGS is fine, this is just more robust.