Skip to content

Control the variables available to the operator? #258

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

You must be logged in to vote

For this, and more generally for other constraints which are very specific, it might be best to write a custom eval_loss function, as described here: https://astroautomata.com/PySR/backend/.


Update: you can now control this with full_objective (PySR) or loss_function (SymbolicRegression.jl).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Zhonglu
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
2 participants