Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
bb97e2c
1
Parent(s):
54b5d8c
Update README example
Browse files
README.md
CHANGED
@@ -120,17 +120,16 @@ You may run:
|
|
120 |
```python
|
121 |
print(model)
|
122 |
```
|
123 |
-
to print the learned equations
|
124 |
```python
|
125 |
PySRRegressor.equations = [
|
126 |
pick score Equation MSE Complexity
|
127 |
-
0 0.000000
|
128 |
-
1
|
129 |
-
2 0.
|
130 |
-
3 0.
|
131 |
-
4 0.
|
132 |
-
5 >>>>
|
133 |
-
6 2.573098 ((-0.50000024 + (x0 * x0)) + (2.5382 * sin(1.5... 7.565937e-13 12
|
134 |
]
|
135 |
```
|
136 |
This arrow in the `pick` column indicates which equation is currently selected by your
|
@@ -142,12 +141,10 @@ This arrow in the `pick` column indicates which equation is currently selected b
|
|
142 |
SymPy format (`sympy_format`), and even JAX and PyTorch format
|
143 |
(both of which are differentiable).
|
144 |
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
- `sympy_format` - sympy equation.
|
150 |
-
- `lambda_format` - a lambda function for that equation, that you can pass values through.
|
151 |
|
152 |
|
153 |
# Docker
|
|
|
120 |
```python
|
121 |
print(model)
|
122 |
```
|
123 |
+
to print the learned equations:
|
124 |
```python
|
125 |
PySRRegressor.equations = [
|
126 |
pick score Equation MSE Complexity
|
127 |
+
0 0.000000 3.5082064 2.710828e+01 1
|
128 |
+
1 0.964260 (x0 * x0) 3.940544e+00 3
|
129 |
+
2 0.030096 (-0.47978288 + (x0 * x0)) 3.710349e+00 5
|
130 |
+
3 0.840770 ((x0 * x0) + cos(x3)) 1.600564e+00 6
|
131 |
+
4 0.928380 ((x0 * x0) + (2.5313091 * cos(x3))) 2.499724e-01 8
|
132 |
+
5 >>>> 13.956461 ((-0.49999997 + (x0 * x0)) + (2.5382001 * cos(... 1.885665e-13 10
|
|
|
133 |
]
|
134 |
```
|
135 |
This arrow in the `pick` column indicates which equation is currently selected by your
|
|
|
141 |
SymPy format (`sympy_format`), and even JAX and PyTorch format
|
142 |
(both of which are differentiable).
|
143 |
|
144 |
+
There are several other useful features such as denoising (e.g., `denoising=True`),
|
145 |
+
feature selection (e.g., `select_k_features=3`).
|
146 |
+
For a summary of features and options, see [this docs page](https://pysr.readthedocs.io/en/latest/docs/options/).
|
147 |
+
You can see the full API at [this page](https://pysr.readthedocs.io/en/latest/docs/api-documentation/).
|
|
|
|
|
148 |
|
149 |
|
150 |
# Docker
|