Nonlinear least squares parameter optimiziation of extracted functions with automatic differentiation #880
Unanswered
david-hofmann
asked this question in
Q&A
Replies: 1 comment 2 replies
-
See https://github.com/MilesCranmer/SymbolicRegression.jl/blob/master/src/ConstantOptimization.jl for how I do constant optimization internally. You could just call that directly |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @MilesCranmer ! I've been trying to use automatic differentiation on the data structure provided by Symbolic Regression to optimize parameters of the functions post-search. Haven't been able to sort out all the issues yet thus I would be really grateful for any hints on perhaps simpler ways to achieving this in Julia.
In reference to this discussion #596, here an MWE to show my current attempt:
It breaks here
constant.val = β
sinceThe type
Float64exists, but no method is defined for this combination of argument types when trying to construct it.
Beta Was this translation helpful? Give feedback.
All reactions