Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
c19c964
1
Parent(s):
87993b5
Move `return_state` to `equation_search`
Browse files- pysr/sr.py +1 -1
pysr/sr.py
CHANGED
@@ -1654,7 +1654,6 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
|
|
1654 |
optimizer_iterations=self.optimizer_iterations,
|
1655 |
perturbation_factor=self.perturbation_factor,
|
1656 |
annealing=self.annealing,
|
1657 |
-
return_state=True, # Required for state saving.
|
1658 |
progress=progress,
|
1659 |
timeout_in_seconds=self.timeout_in_seconds,
|
1660 |
crossover_probability=self.crossover_probability,
|
@@ -1712,6 +1711,7 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
|
|
1712 |
numprocs=cprocs,
|
1713 |
parallelism=parallelism,
|
1714 |
saved_state=self.raw_julia_state_,
|
|
|
1715 |
addprocs_function=cluster_manager,
|
1716 |
)
|
1717 |
|
|
|
1654 |
optimizer_iterations=self.optimizer_iterations,
|
1655 |
perturbation_factor=self.perturbation_factor,
|
1656 |
annealing=self.annealing,
|
|
|
1657 |
progress=progress,
|
1658 |
timeout_in_seconds=self.timeout_in_seconds,
|
1659 |
crossover_probability=self.crossover_probability,
|
|
|
1711 |
numprocs=cprocs,
|
1712 |
parallelism=parallelism,
|
1713 |
saved_state=self.raw_julia_state_,
|
1714 |
+
return_state=True,
|
1715 |
addprocs_function=cluster_manager,
|
1716 |
)
|
1717 |
|