Skip to content

Commit

Permalink
make mcmc tests more difficult.
Browse files Browse the repository at this point in the history
  • Loading branch information
janfb committed Apr 8, 2024
1 parent ab67839 commit 1c5adfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/mcmc_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def test_c2st_slice_np_vectorized_parallelized_on_Gaussian(
Args:
num_dim: parameter dimension of the gaussian model
"""
num_samples = 500
num_samples = 1000
warmup = mcmc_params_accurate["warmup_steps"]
num_chains = (
mcmc_params_accurate["num_chains"]
Expand All @@ -90,7 +90,7 @@ def test_c2st_slice_np_vectorized_parallelized_on_Gaussian(
)
thin = mcmc_params_accurate["thin"]

likelihood_shift = -1.0 * ones(num_dim)
likelihood_shift = -5.0 * ones(num_dim)
likelihood_cov = 0.3 * eye(num_dim)
prior_mean = zeros(num_dim)
prior_cov = eye(num_dim)
Expand Down Expand Up @@ -142,7 +142,7 @@ def test_c2st_pymc_sampler_on_Gaussian(
warmup: int = 100,
):
"""Test PyMC on Gaussian, comparing to ground truth target via c2st."""
likelihood_shift = -1.0 * ones(num_dim)
likelihood_shift = -5.0 * ones(num_dim)
likelihood_cov = 0.3 * eye(num_dim)
prior_mean = zeros(num_dim)
prior_cov = eye(num_dim)
Expand Down

0 comments on commit 1c5adfd

Please sign in to comment.