Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
f39bca3
1
Parent(s):
6b34f10
Update name to `elementwise_loss`
Browse files- pysr/sr.py +1 -1
pysr/sr.py
CHANGED
@@ -1573,7 +1573,7 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
|
|
1573 |
complexity_of_constants=self.complexity_of_constants,
|
1574 |
complexity_of_variables=self.complexity_of_variables,
|
1575 |
nested_constraints=nested_constraints,
|
1576 |
-
|
1577 |
maxsize=int(self.maxsize),
|
1578 |
output_file=_escape_filename(self.equation_file_),
|
1579 |
npopulations=int(self.populations),
|
|
|
1573 |
complexity_of_constants=self.complexity_of_constants,
|
1574 |
complexity_of_variables=self.complexity_of_variables,
|
1575 |
nested_constraints=nested_constraints,
|
1576 |
+
elementwise_loss=custom_loss,
|
1577 |
maxsize=int(self.maxsize),
|
1578 |
output_file=_escape_filename(self.equation_file_),
|
1579 |
npopulations=int(self.populations),
|