Skip to content

Commit

Permalink
fix mfk mixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Saves committed Feb 29, 2024
1 parent d2bc7cd commit ac7034d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions smt/applications/mfk.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,9 @@ def _new_train_init(self):
_, self.cat_features = compute_X_cont(
np.concatenate(xt, axis=0), self.design_space
)
self.X_offset[self.cat_features] *=0
self.X_scale[self.cat_features] *=0
self.X_scale[self.cat_features] +=1

nlevel = self.nlvl

Expand Down

0 comments on commit ac7034d

Please sign in to comment.