Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions modules/performUQ/UCSD_UQ/tmcmcFunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,10 @@ def compute_beta_evidence(beta, log_likelihoods, logFile, threshold=1.0): # noq
# if ((cov_weights > (threshold+0.00000005)) or (std_weights == 0)):
# dBeta = dBeta*0.99999999

if dBeta < 1e-3: # noqa: PLR2004
dBeta = 1e-3 # noqa: N806
weights, cov_weights, std_weights = get_weights(dBeta, log_likelihoods)
break
# if dBeta < 1e-3:
# dBeta = 1e-3
# weights, cov_weights, std_weights = get_weights(dBeta, log_likelihoods)
# break
weights, cov_weights, std_weights = get_weights(dBeta, log_likelihoods)

beta = beta + dBeta
Expand Down
2 changes: 1 addition & 1 deletion modules/performUQ/common/adaptive_doe.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def select_training_points(
scaled_candidates = self._scale(candidate_pool)
scaled_mci_samples = self._scale(mci_samples)

# 3. Fit GP with dummy outputs
# 3. Set GP inputs
self.gp_model_for_doe.set_XY(
scaled_x_train, np.zeros((scaled_x_train.shape[0], 1))
)
Expand Down
Loading