Dear @MilesCranmer,
I just tried out this package. It works! Fantastic.
I see that the result is a pandas DataFrame. The equation is stored as a string. It seems difficult to parse this back into something usable automatically.
I wonder if it would be easy to add an export to a sympy formula.
Sympy then supports exporting formulas into python functions and also efficient numpy functions. This would allow automatic use of PySR's results. Also, sympy can print formulas with pprint in a easily readable form.
Cheers,
Johannes
Dear @MilesCranmer,
I just tried out this package. It works! Fantastic.
I see that the result is a pandas DataFrame. The equation is stored as a string. It seems difficult to parse this back into something usable automatically.
I wonder if it would be easy to add an export to a sympy formula.
Sympy then supports exporting formulas into python functions and also efficient numpy functions. This would allow automatic use of PySR's results. Also, sympy can print formulas with pprint in a easily readable form.
Cheers,
Johannes