Skip to content

Commit

Permalink
docs: remove outdated mention of idx argument
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Feb 22, 2025
1 parent bc5d459 commit 894a5e8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pysr/sr.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,9 +375,6 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
You may pass a function with the same arguments as this (note
that the name of the function doesn't matter). Here,
both `prediction` and `dataset.y` are 1D arrays of length `dataset.n`.
If using `batching`, then you should add an
`idx` argument to the function, which is `nothing`
for non-batched, and a 1D array of indices for batched.
Default is `None`.
loss_function_expression : str
Similar to `loss_function`, but takes as input the full
Expand Down

0 comments on commit 894a5e8

Please sign in to comment.