Skip to content

Commit

Permalink
Format code with black
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsource-autofix[bot] committed Apr 26, 2022
1 parent fbbe578 commit 4839f5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pysr/sr.py
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ def get_params(self, deep=True):

def get_best(self, row=None):
"""Get best equation using `model_selection`.
:param row: Optional. If you wish to select a particular equation
from `self.equations`, give the row number here. This overrides
the `model_selection` parameter.
Expand Down Expand Up @@ -860,7 +860,7 @@ def predict(self, X, row=None):

def sympy(self, row=None):
"""Return sympy representation of the equation(s) chosen by `model_selection`.
:param row: Optional. If you wish to select a particular equation
from `self.equations`, give the row number here. This overrides
the `model_selection` parameter.
Expand All @@ -875,7 +875,7 @@ def sympy(self, row=None):

def latex(self, row=None):
"""Return latex representation of the equation(s) chosen by `model_selection`.
:param row: Optional. If you wish to select a particular equation
from `self.equations`, give the row number here. This overrides
the `model_selection` parameter.
Expand Down Expand Up @@ -925,7 +925,7 @@ def pytorch(self, row=None):
any other PyTorch module: `module(X)`, where `X` is a tensor with the same
column ordering as trained with.
:param row: Optional. If you wish to select a particular equation
from `self.equations`, give the row number here. This overrides
the `model_selection` parameter.
Expand Down

0 comments on commit 4839f5f

Please sign in to comment.