From 0d50d7e28c800810b61636d6223d5f02fe660bbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Haitz=20Legarreta=20Gorro=C3=B1o?= Date: Sat, 7 Dec 2024 19:19:38 -0500 Subject: [PATCH] STYLE: Make Kriging hyperparameter property naming consistent Make Kriging hyperparameter property naming consistent: use `hyperparameter_l` instead of `hyperparameter_beta_l` for the `beta_l` hyperparameter, much like `hyperparameter_a` is being used for the `beta_a` hyperparameter. --- src/eddymotion/model/gpr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eddymotion/model/gpr.py b/src/eddymotion/model/gpr.py index 6798d4bd..8f098a20 100644 --- a/src/eddymotion/model/gpr.py +++ b/src/eddymotion/model/gpr.py @@ -288,7 +288,7 @@ def hyperparameter_a(self) -> Hyperparameter: return Hyperparameter("beta_a", "numeric", self.a_bounds) @property - def hyperparameter_beta_l(self) -> Hyperparameter: + def hyperparameter_l(self) -> Hyperparameter: return Hyperparameter("beta_l", "numeric", self.l_bounds) def __call__( @@ -394,7 +394,7 @@ def hyperparameter_a(self) -> Hyperparameter: return Hyperparameter("beta_a", "numeric", self.a_bounds) @property - def hyperparameter_beta_l(self) -> Hyperparameter: + def hyperparameter_l(self) -> Hyperparameter: return Hyperparameter("beta_l", "numeric", self.l_bounds) def __call__(