Skip to content

Getting nicer symbolic representations #788

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

You must be logged in to vote

Oh you can get the variables names with

using SymbolicRegression: get_variable_names
eq = equations[end]
vars = get_variable_names(eq)

This is the “proper” generic way, but you can also just do

eq.metadata.variable_names

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@RicardRC
Comment options

@RicardRC
Comment options

Answer selected by RicardRC
Comment options

You must be logged in to vote
2 replies
@RicardRC
Comment options

@MilesCranmer
Comment options

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
SymbolicRegression.jl SymbolicRegression.jl-related discussion
2 participants