MilesCranmer commited on
Commit
73d0a98
1 Parent(s): 175b024

Clean up docstring

Browse files
Files changed (1) hide show
  1. pysr/sr.py +2 -2
pysr/sr.py CHANGED
@@ -211,9 +211,9 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
211
  - `"accuracy"` selects the candidate model with the lowest loss
212
  (highest accuracy).
213
  - `"score"` selects the candidate model with the highest score.
214
- Score is defined as the derivative of the log-loss with
215
  respect to complexity - if an expression has a much better
216
- oss at a slightly higher complexity, it is preferred.
217
  - `"best"` selects the candidate model with the highest score
218
  among expressions with a loss better than at least 1.5x the
219
  most accurate model.
 
211
  - `"accuracy"` selects the candidate model with the lowest loss
212
  (highest accuracy).
213
  - `"score"` selects the candidate model with the highest score.
214
+ Score is defined as the negated derivative of the log-loss with
215
  respect to complexity - if an expression has a much better
216
+ loss at a slightly higher complexity, it is preferred.
217
  - `"best"` selects the candidate model with the highest score
218
  among expressions with a loss better than at least 1.5x the
219
  most accurate model.