MilesCranmer / PySR

High-Performance Symbolic Regression in Python and Julia

Home Page:https://astroautomata.com/PySR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Use Julia for `.predict()` rather than sympy.lambdify

MilesCranmer opened this issue · comments

Rather than requiring a user to set up extra_sympy_mappings whenever they define a custom operator, I think the expressions should be evaluated directly in Julia, without needing to convert them. This shouldn't require too many tweaks.

The one downside is it would be harder to restore a model from the saved .csv file.