Spaces:
Sleeping
Sleeping
deepsource-autofix[bot]
commited on
Format code with black
Browse filesThis commit fixes the style issues introduced in e7ff6db according to the output
from black.
Details: https://deepsource.io/gh/MilesCranmer/PySR/transform/ddcd62c1-7279-4f35-8952-ba67296304e2/
- pysr/sr.py +0 -2
pysr/sr.py
CHANGED
@@ -952,8 +952,6 @@ class PySRRegressor(BaseEstimator, RegressorMixin):
|
|
952 |
"If you are using a custom operator, make sure to define it in extra_sympy_mappings, "
|
953 |
"e.g., `model.set_params(extra_sympy_mappings={'inv': lambda x: 1 / x})`."
|
954 |
) from error
|
955 |
-
|
956 |
-
|
957 |
|
958 |
def sympy(self, index=None):
|
959 |
"""Return sympy representation of the equation(s) chosen by `model_selection`.
|
|
|
952 |
"If you are using a custom operator, make sure to define it in extra_sympy_mappings, "
|
953 |
"e.g., `model.set_params(extra_sympy_mappings={'inv': lambda x: 1 / x})`."
|
954 |
) from error
|
|
|
|
|
955 |
|
956 |
def sympy(self, index=None):
|
957 |
"""Return sympy representation of the equation(s) chosen by `model_selection`.
|