Skip to content

Multiexpression Outputs Question #705

Answered by MilesCranmer
ccclalala123 asked this question in Q&A
Discussion options

You must be logged in to vote

Basically .l is the left side and .r is the right side of the outermost operator. So if you were numerically evaluating the equation, the last operator that you would evaluate is the one you split at. So x0 / (-0.3637128 - x0)) * 4.5015717 has P equal to the x0/(-0.36 - x0) and Q equal to the 4.5. The outermost operator * is ignored.

But yes I think it would be nice for PySR to have a proper way of facilitating this, rather than needing to do it all manually.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ccclalala123
Comment options

@ccclalala123
Comment options

@MilesCranmer
Comment options

@ccclalala123
Comment options

@Alexia369
Comment options

Answer selected by ccclalala123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
PySR PySR-related discussion SymbolicRegression.jl SymbolicRegression.jl-related discussion
3 participants