Skip to content

Commit

Permalink
Merge pull request #76 from luinardi/model_var_hotfix
Browse files Browse the repository at this point in the history
Fixed missing variable.
  • Loading branch information
arturluis authored May 25, 2022
2 parents 87f3f1b + d36fdf4 commit 4cc7699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hypermapper/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ def compute_gp_prediction_mean_and_uncertainty(bufferx, model, param_space, var=
normalized_bufferx = preprocess_data_buffer(bufferx, param_space)
normalized_bufferx = np.array(normalized_bufferx)
means = {}
stds = {}
vars = {}
uncertainty = {}
for parameter in model:
means[parameter], vars[parameter] = model[parameter].predict(normalized_bufferx)
Expand Down

0 comments on commit 4cc7699

Please sign in to comment.