Skip to content

Commit

Permalink
Fix wrong noisy assignment in BoTorch
Browse files Browse the repository at this point in the history
  • Loading branch information
ruicoelhopedro committed Apr 16, 2024
1 parent 2da2f75 commit 59b360e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions piglot/optimisers/botorch/bayes.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def __init__(
self.n_initial = n_initial
self.acquisition = acquisition
self.beta = beta
self.noisy = bool(noisy) or objective.stochastic
self.noisy = bool(noisy)
self.q = q
self.seed = seed
self.load_file = load_file
Expand All @@ -172,7 +172,7 @@ def __init__(
self.acquisition = default_acquisition(
objective.composition,
objective.multi_objective,
self.noisy,
bool(noisy) or objective.stochastic,
self.q,
)
elif self.acquisition not in AVAILABLE_ACQUISITIONS:
Expand Down

0 comments on commit 59b360e

Please sign in to comment.