Skip to content

Commit

Permalink
fix: tsnpe sir test
Browse files Browse the repository at this point in the history
  • Loading branch information
janfb committed Jul 30, 2024
1 parent b275448 commit fc434b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/linearGaussian_snpe_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def simulator(theta):
elif method_str.startswith("tsnpe"):
sample_method = "rejection" if method_str == "tsnpe_rejection" else "sir"
inference = SNPE_C(**creation_args)
theta = prior.sample((900,))
theta = prior.sample((1000,))
x = simulator(theta)
posterior_estimator = inference.append_simulations(theta, x).train()
posterior1 = DirectPosterior(
Expand Down

0 comments on commit fc434b7

Please sign in to comment.