Skip to content

Commit

Permalink
docs: improve fit docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Jun 16, 2024
1 parent c2ab38b commit 89e991d
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 @@ -1394,13 +1394,13 @@ def _validate_and_set_fit_params(
Each element is how to weight the mean-square-error loss
for that particular element of y.
variable_names : ndarray of length n_features
Names of each variable in the training dataset, `X`.
Names of each feature in the training dataset, `X`.
complexity_of_variables : int | float | list[int | float]
Complexity of each variable in the training dataset, `X`.
Complexity of each feature in the training dataset, `X`.
X_units : list[str] of length n_features
Units of each variable in the training dataset, `X`.
Units of each feature in the training dataset, `X`.
y_units : str | list[str] of length n_out
Units of each variable in the training dataset, `y`.
Units of each feature in the training dataset, `y`.
Returns
-------
Expand Down

0 comments on commit 89e991d

Please sign in to comment.