Spaces:
Running
Running
Commit
·
ef62619
1
Parent(s):
aea0528
Describe how to limit power complexity
Browse files- docs/options.md +11 -0
docs/options.md
CHANGED
|
@@ -14,6 +14,7 @@ may find useful include:
|
|
| 14 |
- `maxsize`, `maxdepth`
|
| 15 |
- `batching`, `batchSize`
|
| 16 |
- `variable_names` (or pandas input)
|
|
|
|
| 17 |
- LaTeX, SymPy, and callable equation output
|
| 18 |
|
| 19 |
These are described below
|
|
@@ -126,6 +127,16 @@ You can pass a list of strings naming each column of `X` with
|
|
| 126 |
and the columns will be used as variable names. Make sure only
|
| 127 |
alphabetical characters and `_` are used in these names.
|
| 128 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
## LaTeX, SymPy, callables
|
| 130 |
|
| 131 |
The `pysr` command will return a pandas dataframe. The `sympy_format`
|
|
|
|
| 14 |
- `maxsize`, `maxdepth`
|
| 15 |
- `batching`, `batchSize`
|
| 16 |
- `variable_names` (or pandas input)
|
| 17 |
+
- Limiting pow complexity
|
| 18 |
- LaTeX, SymPy, and callable equation output
|
| 19 |
|
| 20 |
These are described below
|
|
|
|
| 127 |
and the columns will be used as variable names. Make sure only
|
| 128 |
alphabetical characters and `_` are used in these names.
|
| 129 |
|
| 130 |
+
## Limiting pow complexity
|
| 131 |
+
|
| 132 |
+
One can limit the complexity of power laws
|
| 133 |
+
with the `limitPowComplexity` argument.
|
| 134 |
+
This will prevent the exponent part of the expression
|
| 135 |
+
having complexity greater than one. This prevents uninterpretable
|
| 136 |
+
expressions such as `x^(y+z^(5+y))`, which sometimes
|
| 137 |
+
occur during training. But it still allows for, e.g., `5^y` or
|
| 138 |
+
`(x+y)^5`: anything where the exponent is not overly complex.
|
| 139 |
+
|
| 140 |
## LaTeX, SymPy, callables
|
| 141 |
|
| 142 |
The `pysr` command will return a pandas dataframe. The `sympy_format`
|