Spaces:
Sleeping
Sleeping
Commit
·
518e1cc
1
Parent(s):
9049df4
Convert stop condition to string if not set
Browse files- pysr/sr.py +1 -1
pysr/sr.py
CHANGED
|
@@ -1312,7 +1312,7 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
|
|
| 1312 |
complexity_of_operators = Main.eval(complexity_of_operators_str)
|
| 1313 |
|
| 1314 |
custom_loss = Main.eval(self.loss)
|
| 1315 |
-
early_stop_condition = Main.eval(self.early_stop_condition)
|
| 1316 |
|
| 1317 |
mutationWeights = [
|
| 1318 |
float(self.weight_mutate_constant),
|
|
|
|
| 1312 |
complexity_of_operators = Main.eval(complexity_of_operators_str)
|
| 1313 |
|
| 1314 |
custom_loss = Main.eval(self.loss)
|
| 1315 |
+
early_stop_condition = Main.eval(str(self.early_stop_condition))
|
| 1316 |
|
| 1317 |
mutationWeights = [
|
| 1318 |
float(self.weight_mutate_constant),
|