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(
148148):
149149 """Test MNLE c2st accuracy for different samplers and number of trials."""
150150
151- num_simulations = 3200
152- num_samples = 500
151+ num_simulations = 4000
152+ num_samples = 1000
153153
154154 prior = MultipleIndependent (
155155 [
156156 Gamma (torch .tensor ([1.0 ]), torch .tensor ([0.5 ])),
157157 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
161158 ],
162159 validate_args = False ,
163160 )
@@ -200,7 +197,7 @@ def test_mnle_accuracy_with_different_samplers_and_trials(
200197 check_c2st (
201198 mnle_posterior_samples ,
202199 true_posterior_samples ,
203- alg = f"MNLE with { sampler } " ,
200+ alg = f"MNLE with { flow_model } and { sampler } " ,
204201 )
205202
206203
You can’t perform that action at this time.
0 commit comments