Skip to content

Commit 53714ba

Browse files
committed
abs - relaxing the minimum beta restriction
1 parent a1c9b75 commit 53714ba

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

modules/performUQ/UCSD_UQ/tmcmcFunctions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,10 @@ def compute_beta_evidence(beta, log_likelihoods, logFile, threshold=1.0): # noq
371371
# if ((cov_weights > (threshold+0.00000005)) or (std_weights == 0)):
372372
# dBeta = dBeta*0.99999999
373373

374-
if dBeta < 1e-3: # noqa: PLR2004
375-
dBeta = 1e-3 # noqa: N806
376-
weights, cov_weights, std_weights = get_weights(dBeta, log_likelihoods)
377-
break
374+
# if dBeta < 1e-3:
375+
# dBeta = 1e-3
376+
# weights, cov_weights, std_weights = get_weights(dBeta, log_likelihoods)
377+
# break
378378
weights, cov_weights, std_weights = get_weights(dBeta, log_likelihoods)
379379

380380
beta = beta + dBeta

modules/performUQ/common/adaptive_doe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def select_training_points(
152152
scaled_candidates = self._scale(candidate_pool)
153153
scaled_mci_samples = self._scale(mci_samples)
154154

155-
# 3. Fit GP with dummy outputs
155+
# 3. Set GP inputs
156156
self.gp_model_for_doe.set_XY(
157157
scaled_x_train, np.zeros((scaled_x_train.shape[0], 1))
158158
)

0 commit comments

Comments
 (0)