PySR / pysr /__init__.py
MilesCranmer's picture
Rename loss => elementwise_loss and full_objective => loss_function
d16abb4 unverified
raw
history blame
778 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",
"Problem",
"install",
"PySRRegressor",
"best",
"best_callable",
"best_row",
"best_tex",
"pysr",
"__version__",
]