MilesCranmer / PySR

High-Performance Symbolic Regression in Python and Julia
https://astroautomata.com/PySR
Apache License 2.0
2.09k stars 197 forks source link

Store `SymbolicRegression.Options` in `.sr_options_` #429

Closed MilesCranmer closed 3 months ago

MilesCranmer commented 9 months ago

A variety of functions in SymbolicRegression.jl requires the Options type as input.

This PR saves the Options in the .sr_options_ attribute of PySRRegressor so it's easier to access various functions.

TODO:

MilesCranmer commented 3 months ago

Added already in recent switch to PythonCall.jl