Spaces:
Running
Running
deepsource-autofix[bot]
commited on
Commit
•
4839f5f
1
Parent(s):
fbbe578
Format code with black
Browse files- pysr/sr.py +4 -4
pysr/sr.py
CHANGED
@@ -781,7 +781,7 @@ class PySRRegressor(BaseEstimator, RegressorMixin):
|
|
781 |
|
782 |
def get_best(self, row=None):
|
783 |
"""Get best equation using `model_selection`.
|
784 |
-
|
785 |
:param row: Optional. If you wish to select a particular equation
|
786 |
from `self.equations`, give the row number here. This overrides
|
787 |
the `model_selection` parameter.
|
@@ -860,7 +860,7 @@ class PySRRegressor(BaseEstimator, RegressorMixin):
|
|
860 |
|
861 |
def sympy(self, row=None):
|
862 |
"""Return sympy representation of the equation(s) chosen by `model_selection`.
|
863 |
-
|
864 |
:param row: Optional. If you wish to select a particular equation
|
865 |
from `self.equations`, give the row number here. This overrides
|
866 |
the `model_selection` parameter.
|
@@ -875,7 +875,7 @@ class PySRRegressor(BaseEstimator, RegressorMixin):
|
|
875 |
|
876 |
def latex(self, row=None):
|
877 |
"""Return latex representation of the equation(s) chosen by `model_selection`.
|
878 |
-
|
879 |
:param row: Optional. If you wish to select a particular equation
|
880 |
from `self.equations`, give the row number here. This overrides
|
881 |
the `model_selection` parameter.
|
@@ -925,7 +925,7 @@ class PySRRegressor(BaseEstimator, RegressorMixin):
|
|
925 |
any other PyTorch module: `module(X)`, where `X` is a tensor with the same
|
926 |
column ordering as trained with.
|
927 |
|
928 |
-
|
929 |
:param row: Optional. If you wish to select a particular equation
|
930 |
from `self.equations`, give the row number here. This overrides
|
931 |
the `model_selection` parameter.
|
|
|
781 |
|
782 |
def get_best(self, row=None):
|
783 |
"""Get best equation using `model_selection`.
|
784 |
+
|
785 |
:param row: Optional. If you wish to select a particular equation
|
786 |
from `self.equations`, give the row number here. This overrides
|
787 |
the `model_selection` parameter.
|
|
|
860 |
|
861 |
def sympy(self, row=None):
|
862 |
"""Return sympy representation of the equation(s) chosen by `model_selection`.
|
863 |
+
|
864 |
:param row: Optional. If you wish to select a particular equation
|
865 |
from `self.equations`, give the row number here. This overrides
|
866 |
the `model_selection` parameter.
|
|
|
875 |
|
876 |
def latex(self, row=None):
|
877 |
"""Return latex representation of the equation(s) chosen by `model_selection`.
|
878 |
+
|
879 |
:param row: Optional. If you wish to select a particular equation
|
880 |
from `self.equations`, give the row number here. This overrides
|
881 |
the `model_selection` parameter.
|
|
|
925 |
any other PyTorch module: `module(X)`, where `X` is a tensor with the same
|
926 |
column ordering as trained with.
|
927 |
|
928 |
+
|
929 |
:param row: Optional. If you wish to select a particular equation
|
930 |
from `self.equations`, give the row number here. This overrides
|
931 |
the `model_selection` parameter.
|