Spaces:
Sleeping
Sleeping
Explain inline operator definition in README example
Browse files
README.md
CHANGED
|
@@ -78,6 +78,7 @@ y = 2*np.cos(X[:, 3]) + X[:, 0]**2 - 2
|
|
| 78 |
equations = pysr(X, y, niterations=5,
|
| 79 |
binary_operators=["plus", "mult"],
|
| 80 |
unary_operators=["cos", "exp", "sin", "inv(x) = 1/x"])
|
|
|
|
| 81 |
|
| 82 |
...# (you can use ctl-c to exit early)
|
| 83 |
|
|
|
|
| 78 |
equations = pysr(X, y, niterations=5,
|
| 79 |
binary_operators=["plus", "mult"],
|
| 80 |
unary_operators=["cos", "exp", "sin", "inv(x) = 1/x"])
|
| 81 |
+
# Define your own operator with Julia syntax!
|
| 82 |
|
| 83 |
...# (you can use ctl-c to exit early)
|
| 84 |
|