Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
STYLE: Make Kriging hyperparameter property naming consistent
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jhlegarreta committed Dec 8, 2024
1 parent f10fc12 commit 0d50d7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/eddymotion/model/gpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__(
Expand Down Expand Up @@ -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__(
Expand Down

0 comments on commit 0d50d7e

Please sign in to comment.