Spaces:
Running
Running
Commit
路
f82dcf5
1
Parent(s):
bb3bc5e
Fix parts of docstring
Browse files- pysr/sr.py +2 -3
pysr/sr.py
CHANGED
|
@@ -275,8 +275,7 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
|
|
| 275 |
function. Examples of custom written losses include:
|
| 276 |
`myloss(x, y) = abs(x-y)` for non-weighted, or
|
| 277 |
`myloss(x, y, w) = w*abs(x-y)` for weighted.
|
| 278 |
-
|
| 279 |
-
Among the included losses, these are as follows.
|
| 280 |
Regression: `LPDistLoss{P}()`, `L1DistLoss()`,
|
| 281 |
`L2DistLoss()` (mean square), `LogitDistLoss()`,
|
| 282 |
`HuberLoss(d)`, `L1EpsilonInsLoss(系)`, `L2EpsilonInsLoss(系)`,
|
|
@@ -318,7 +317,7 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
|
|
| 318 |
(requires :param`annealing` to be `True`).
|
| 319 |
|
| 320 |
annealing : bool, default=True
|
| 321 |
-
Whether to use annealing.
|
| 322 |
|
| 323 |
early_stop_condition : { float | str }, default=None
|
| 324 |
Stop the search early if this loss is reached. You may also
|
|
|
|
| 275 |
function. Examples of custom written losses include:
|
| 276 |
`myloss(x, y) = abs(x-y)` for non-weighted, or
|
| 277 |
`myloss(x, y, w) = w*abs(x-y)` for weighted.
|
| 278 |
+
The included losses include:
|
|
|
|
| 279 |
Regression: `LPDistLoss{P}()`, `L1DistLoss()`,
|
| 280 |
`L2DistLoss()` (mean square), `LogitDistLoss()`,
|
| 281 |
`HuberLoss(d)`, `L1EpsilonInsLoss(系)`, `L2EpsilonInsLoss(系)`,
|
|
|
|
| 317 |
(requires :param`annealing` to be `True`).
|
| 318 |
|
| 319 |
annealing : bool, default=True
|
| 320 |
+
Whether to use annealing.
|
| 321 |
|
| 322 |
early_stop_condition : { float | str }, default=None
|
| 323 |
Stop the search early if this loss is reached. You may also
|