PySR / pysr /__init__.py
MilesCranmer's picture
Add install function back with deprecation warning
8cf4bf3 unverified
raw
history blame
773 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 # isort:skip
from . import sklearn_monkeypatch
from .deprecated import best, best_callable, best_row, best_tex, pysr
from .export_jax import sympy2jax
from .export_torch import sympy2torch
from .julia_helpers import install
from .sr import PySRRegressor
# This file is created by setuptools_scm during the build process:
from .version import __version__
__all__ = [
"sklearn_monkeypatch",
"sympy2jax",
"sympy2torch",
"Problem",
"install",
"PySRRegressor",
"best",
"best_callable",
"best_row",
"best_tex",
"pysr",
"__version__",
"jl",
"install",
]