Skip to content

Symbolic regression with "conditional constants" #521

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

You must be logged in to vote

Hey @mkellerressel,

Great question. So the first thing I would suggest is trying the approach used here: https://arxiv.org/abs/2202.02306. This learns a mass parameter for each planet while simultaneously learning a model that takes those mass parameters as input. Then, finally, the neural network is approximated with symbolic regression.

Now, to fit separate constants during symbolic regression itself (so you could solve this just with PySR/SR.jl), its not set up yet but I am planning to add this via MilesCranmer/SymbolicRegression.jl#271 as it would let you define custom types of trees — including trees that have a variable set of constants!

Cheers,
Miles

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@mkellerressel
Comment options

Answer selected by mkellerressel
Comment options

You must be logged in to vote
0 replies
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