Using non-tabular datasets, like sequences and grids, in PySR #660
-
Moving from #323:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
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 for this isn't yet worked out. So for right now the above two options. Cheers, |
Beta Was this translation helpful? Give feedback.
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 …