how to pass an expression from PyCall #533
Unanswered
randomx207
asked this question in
Q&A
Replies: 1 comment
-
This is tricky, I guess the main thing you can do is modify the For constructing trees, take a look at DynamicExpressions.jl which is how the node type is defined. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @MilesCranmer,
I would also like to ask: what should I do if I want to generate an initial population (i.e., a sympy expression list, or preorder traversal token list, whatever) in Python, and pass it to julia during the pysr population initialization phase? I have looked at #491 and have clone the source code, but I want to know:
function Population
to pass expressions from PyCall?for example, what I want to do is like this
Beta Was this translation helpful? Give feedback.
All reactions