Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
21309c3
1
Parent(s):
7a40f51
Tweak docstrings
Browse files- pysr/sr.py +5 -3
pysr/sr.py
CHANGED
@@ -245,10 +245,12 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
|
|
245 |
among expressions with a loss better than at least 1.5x the
|
246 |
most accurate model.
|
247 |
binary_operators : list[str], default=["+", "-", "*", "/"]
|
248 |
-
List of strings
|
|
|
|
|
249 |
unary_operators : list[str], default=None
|
250 |
-
|
251 |
-
|
252 |
niterations : int, default=40
|
253 |
Number of iterations of the algorithm to run. The best
|
254 |
equations are printed and migrate between populations at the
|
|
|
245 |
among expressions with a loss better than at least 1.5x the
|
246 |
most accurate model.
|
247 |
binary_operators : list[str], default=["+", "-", "*", "/"]
|
248 |
+
List of strings for binary operators used in the search.
|
249 |
+
See the [operators page](https://astroautomata.com/PySR/operators/)
|
250 |
+
for more details.
|
251 |
unary_operators : list[str], default=None
|
252 |
+
Operators which only take a single scalar as input.
|
253 |
+
For example, `"cos"` or `"exp"`.
|
254 |
niterations : int, default=40
|
255 |
Number of iterations of the algorithm to run. The best
|
256 |
equations are printed and migrate between populations at the
|