Skip to content

Commit

Permalink
init zscale
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Saves committed Oct 17, 2024
1 parent 29644a0 commit 90017fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions smt/utils/kriging.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ def gower_componentwise_distances(
z_num_is_acting = z_is_acting[:, ~cat_features]
num_is_decreed = is_decreed[~cat_features]
num_bounds = design_space.get_num_bounds()[~cat_features, :]
Z_scale = 1
if num_bounds.shape[0] > 0:
Z_offset = num_bounds[:, 0]
Z_max = num_bounds[:, 1]
Expand Down

0 comments on commit 90017fa

Please sign in to comment.