Spaces:
Running
Running
Merge branch 'master' into refactor-PySRRegressor
Browse files- docs/options.md +2 -2
- pysr/sr.py +1 -1
docs/options.md
CHANGED
@@ -10,7 +10,7 @@ may find useful include:
|
|
10 |
- `populations`
|
11 |
- `weights`
|
12 |
- `maxsize`, `maxdepth`
|
13 |
-
- `batching`, `
|
14 |
- `variable_names` (or pandas input)
|
15 |
- Constraining operator complexity
|
16 |
- LaTeX, SymPy
|
@@ -126,7 +126,7 @@ This specifies that maxsize increases every `warmupMaxsize`.
|
|
126 |
|
127 |
## Batching
|
128 |
One can turn on mini-batching, with the `batching` flag,
|
129 |
-
and control the batch size with `
|
130 |
evolution faster for large datasets. Equations are still evaluated
|
131 |
on the entire dataset at the end of each iteration to compare to the hall
|
132 |
of fame, but only on a random subset during mutations and annealing.
|
|
|
10 |
- `populations`
|
11 |
- `weights`
|
12 |
- `maxsize`, `maxdepth`
|
13 |
+
- `batching`, `batch_size`
|
14 |
- `variable_names` (or pandas input)
|
15 |
- Constraining operator complexity
|
16 |
- LaTeX, SymPy
|
|
|
126 |
|
127 |
## Batching
|
128 |
One can turn on mini-batching, with the `batching` flag,
|
129 |
+
and control the batch size with `batch_size`. This will make
|
130 |
evolution faster for large datasets. Equations are still evaluated
|
131 |
on the entire dataset at the end of each iteration to compare to the hall
|
132 |
of fame, but only on a random subset during mutations and annealing.
|
pysr/sr.py
CHANGED
@@ -26,7 +26,7 @@ from .export_numpy import CallableEquation
|
|
26 |
from .deprecated import make_deprecated_kwargs_for_pysr_regressor
|
27 |
|
28 |
|
29 |
-
Main = None
|
30 |
|
31 |
already_ran = False
|
32 |
|
|
|
26 |
from .deprecated import make_deprecated_kwargs_for_pysr_regressor
|
27 |
|
28 |
|
29 |
+
Main = None # TODO: Rename to more descriptive name like "julia_runtime"
|
30 |
|
31 |
already_ran = False
|
32 |
|