Skip to content

Learning parametric functions with PySR #623

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

You must be logged in to vote

Hi @pastaalfredo,

Great question! We have done this in https://github.com/MilesCranmer/symbolic_deep_learning (check out the colab demo here: https://colab.research.google.com/github/MilesCranmer/symbolic_deep_learning/blob/master/GN_Demo_Colab.ipynb – which goes through this exact sort of problem). However for you, you will need to also learn a "parameter dictionary" which we did in https://iopscience.iop.org/article/10.1088/2632-2153/acfa63/meta as a way to do "basis learning".

Basically you would first learn a deep learning model on your problem, and inside that model, you would have a set of per-object parameters (act as your function "parameters" such as $m_i$ and $m_j$ in your examp…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by pastaalfredo
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