From 6b34f102ffc2de458ee762a972d9c8ebaa393b04 Mon Sep 17 00:00:00 2001 From: MilesCranmer Date: Mon, 16 Jan 2023 15:31:24 -0500 Subject: [PATCH 1/2] Bump backend version with stream fix; fixes #250 --- pysr/version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pysr/version.py b/pysr/version.py index 7a2c5b6c1..4793f7df2 100644 --- a/pysr/version.py +++ b/pysr/version.py @@ -1,2 +1,2 @@ -__version__ = "0.11.11" -__symbolic_regression_jl_version__ = "0.14.4" +__version__ = "0.11.12" +__symbolic_regression_jl_version__ = "0.15.0" From f39bca3d6c65f890cc0e8e0a1e7fe777bf6fae5c Mon Sep 17 00:00:00 2001 From: MilesCranmer Date: Mon, 16 Jan 2023 15:36:01 -0500 Subject: [PATCH 2/2] Update name to `elementwise_loss` --- pysr/sr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysr/sr.py b/pysr/sr.py index 1d619bc11..40df6b902 100644 --- a/pysr/sr.py +++ b/pysr/sr.py @@ -1573,7 +1573,7 @@ def _run(self, X, y, mutated_params, weights, seed): complexity_of_constants=self.complexity_of_constants, complexity_of_variables=self.complexity_of_variables, nested_constraints=nested_constraints, - loss=custom_loss, + elementwise_loss=custom_loss, maxsize=int(self.maxsize), output_file=_escape_filename(self.equation_file_), npopulations=int(self.populations),