Spaces:
Running
Running
deepsource-autofix[bot]
commited on
Commit
•
fe1cb56
1
Parent(s):
fadf4db
Format code with black
Browse files- example.py +2 -1
example.py
CHANGED
@@ -4,6 +4,7 @@ X = 2 * np.random.randn(100, 5)
|
|
4 |
y = 2.5382 * np.cos(X[:, 3]) + X[:, 0] ** 2 - 0.5
|
5 |
|
6 |
from pysr import PySRRegressor
|
|
|
7 |
model = PySRRegressor(
|
8 |
niterations=5,
|
9 |
populations=8,
|
@@ -18,4 +19,4 @@ model = PySRRegressor(
|
|
18 |
|
19 |
model.fit(X, y)
|
20 |
|
21 |
-
print(model)
|
|
|
4 |
y = 2.5382 * np.cos(X[:, 3]) + X[:, 0] ** 2 - 0.5
|
5 |
|
6 |
from pysr import PySRRegressor
|
7 |
+
|
8 |
model = PySRRegressor(
|
9 |
niterations=5,
|
10 |
populations=8,
|
|
|
19 |
|
20 |
model.fit(X, y)
|
21 |
|
22 |
+
print(model)
|