Skip to content

Using non-tabular datasets, like sequences and grids, in PySR #660

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

You must be logged in to vote

Hi @puja93,

Good question! So the primary recommended way to solve this is via PySR's integration with deep learning frameworks. For example, see the last part of the example colab notebook here: https://github.com/MilesCranmer/symbolic_deep_learning for a time series example.

The other way to solve this to create a custom loss function that incorporates your dataset structure. For example, you can learn recursive functions like #540 (comment) which could be used for time series data, or unpack the data explicitly as in #426 (comment).

Vectors and matrices will soon be supported in the symbolic expressions themselves (see SymbolicML/DynamicExpressions.jl#85 for progress) – though the API …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@puja93
Comment options

@MilesCranmer
Comment options

@puja93
Comment options

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