Spaces:
Sleeping
Sleeping
File size: 1,033 Bytes
07a359d caf58a4 e957e34 caf58a4 0a6b4ab d16abb4 fb950bb caf58a4 6823848 976f8d8 b933dea e957e34 b933dea 976f8d8 b933dea 976f8d8 b933dea |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
import juliapkg
juliapkg.require_julia("~1.6.7, ~1.7, ~1.8, ~1.9, =1.10.0, ^1.10.3")
juliapkg.add(
"SymbolicRegression", "8254be44-1295-4e6a-a16d-46603ac705cb", version="=0.24.4"
)
juliapkg.add("Serialization", "9e88b42a-f829-5b0c-bbe9-9e923198166b", version="1")
# 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__",
]
|