rzhang
rzhang
Thanks for the tips mgrange1998. But I guess my issue was that when I construct a list of "ChoiceParameter" using for loop, like: list_choice_parameters = [] for parameter in all_parameters:...
Nice. Thank you!
I reformatted the code. ### Code ```python def create_gp_model_kwargs(): return {'surrogate' : Surrogate(botorch_model_class = train_default_gp_model()), 'botorch_acqf_class': qNoisyExpectedHypervolumeImprovement} def train_default_gp_model(self): train_x, train_y = initialize_training_data() train_x = normalize(X=train_x_motors, bounds=params_bounds_tensor) models = [] ...