Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Saves committed Feb 14, 2024
1 parent 6610be2 commit 909f3e9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions smt/surrogate_models/krg_based.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,15 +456,15 @@ def _new_train(self):
mixint_type=MixIntKernelType.CONT_RELAX,
)

# Center and scale X_cont and y
(
self.X_norma,
self.y_norma,
self.X_offset,
self.y_mean,
self.X_scale,
self.y_std,
) = standardization(X_cont.copy(), y.copy())
# Center and scale X_cont and y
(
self.X_norma,
self.y_norma,
self.X_offset,
self.y_mean,
self.X_scale,
self.y_std,
) = standardization(X_cont.copy(), y.copy())

if self.name not in ["SGP"]:
if self.is_continuous:
Expand Down

0 comments on commit 909f3e9

Please sign in to comment.