Skip to content

Commit

Permalink
CLN: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
himkwtn committed Aug 26, 2024
1 parent de58118 commit ba3798e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pysindy/utils/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,10 @@ def get_prox(
Returns:
--------
proximal_operator: (x: np.array, regularization_weight: float | np.array) -> np.array
proximal_operator: (x: np.array, reg_weight: float | np.array) -> np.array
A function that takes an input x of shape (n_targets, n_features)
and regularization weight factor which can be a scalar or an array of shape (n_targets, n_features),
and regularization weight factor which can be a scalar or
an array of shape (n_targets, n_features),
and returns an array of shape (n_targets, n_features)
"""

Expand Down Expand Up @@ -249,9 +250,10 @@ def get_regularization(
Returns:
--------
regularization_function: (x: np.array, regularization_weight: float | np.array) -> np.array
regularization_function: (x: np.array, reg_weight: float | np.array) -> np.array
A function that takes an input x of shape (n_targets, n_features)
and regularization weight factor which can be a scalar or an array of shape (n_targets, n_features),
and regularization weight factor which can be a scalar or
an array of shape (n_targets, n_features),
and returns a float
"""

Expand Down

0 comments on commit ba3798e

Please sign in to comment.