File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -148,16 +148,13 @@ def test_mnle_accuracy_with_different_samplers_and_trials(
148
148
):
149
149
"""Test MNLE c2st accuracy for different samplers and number of trials."""
150
150
151
- num_simulations = 3200
152
- num_samples = 500
151
+ num_simulations = 4000
152
+ num_samples = 1000
153
153
154
154
prior = MultipleIndependent (
155
155
[
156
156
Gamma (torch .tensor ([1.0 ]), torch .tensor ([0.5 ])),
157
157
Beta (torch .tensor ([2.0 ]), torch .tensor ([2.0 ])),
158
- Beta (
159
- torch .tensor ([2.0 ]), torch .tensor ([2.0 ])
160
- ), # tests discrete dims > 1 works
161
158
],
162
159
validate_args = False ,
163
160
)
@@ -200,7 +197,7 @@ def test_mnle_accuracy_with_different_samplers_and_trials(
200
197
check_c2st (
201
198
mnle_posterior_samples ,
202
199
true_posterior_samples ,
203
- alg = f"MNLE with { sampler } " ,
200
+ alg = f"MNLE with { flow_model } and { sampler } " ,
204
201
)
205
202
206
203
You can’t perform that action at this time.
0 commit comments