Spaces:
Running
Running
File size: 824 Bytes
21018aa 0a6b4ab 0b9e421 fb950bb 976f8d8 0b9e421 976f8d8 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 |
import sys
import warnings
if sys.version_info >= (3, 12, 0):
warnings.warn(
"PySR experiences occassional segfaults with Python 3.12. "
+ "Please use an earlier version of Python with PySR until this issue is resolved."
)
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 .feynman_problems import FeynmanProblem, Problem
from .julia_helpers import install
from .sr import PySRRegressor
from .version import __version__
__all__ = [
"sklearn_monkeypatch",
"sympy2jax",
"sympy2torch",
"FeynmanProblem",
"Problem",
"install",
"PySRRegressor",
"best",
"best_callable",
"best_row",
"best_tex",
"pysr",
"__version__",
]
|