PySR / pysr /__init__.py
MilesCranmer's picture
fix: `from pysr import *`
a1457c0 unverified
raw
history blame contribute delete
763 Bytes
# This must be imported as early as possible to prevent
# library linking issues caused by numpy/pytorch/etc. importing
# old libraries:
from .julia_import import jl, SymbolicRegression # isort:skip
from . import sklearn_monkeypatch
from .deprecated import best, best_callable, best_row, best_tex, install, pysr
from .export_jax import sympy2jax
from .export_torch import sympy2torch
from .sr import PySRRegressor
# This file is created by setuptools_scm during the build process:
from .version import __version__
__all__ = [
"jl",
"SymbolicRegression",
"sklearn_monkeypatch",
"sympy2jax",
"sympy2torch",
"install",
"PySRRegressor",
"best",
"best_callable",
"best_row",
"best_tex",
"pysr",
"__version__",
]