Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
f07f6e6
1
Parent(s):
518e1cc
Fix typo in comment
Browse files- pysr/sr.py +1 -1
pysr/sr.py
CHANGED
@@ -565,7 +565,7 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
|
|
565 |
>>> from pysr import PySRRegressor
|
566 |
>>> randstate = np.random.RandomState(0)
|
567 |
>>> X = 2 * randstate.randn(100, 5)
|
568 |
-
>>> # y = 2.
|
569 |
>>> y = 2.5382 * np.cos(X[:, 3]) + X[:, 0] ** 2 - 0.5
|
570 |
>>> model = PySRRegressor(
|
571 |
... niterations=40,
|
|
|
565 |
>>> from pysr import PySRRegressor
|
566 |
>>> randstate = np.random.RandomState(0)
|
567 |
>>> X = 2 * randstate.randn(100, 5)
|
568 |
+
>>> # y = 2.5382 * cos(x_3) + x_0 - 0.5
|
569 |
>>> y = 2.5382 * np.cos(X[:, 3]) + X[:, 0] ** 2 - 0.5
|
570 |
>>> model = PySRRegressor(
|
571 |
... niterations=40,
|