File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ def simulator(theta):
271
271
"tsnpe_sir" ,
272
272
),
273
273
)
274
- def test_c2st_multi_round_npe_on_linearGaussian (method_str : str ):
274
+ def test_c2st_multi_round_snpe_on_linearGaussian (method_str : str ):
275
275
"""Test whether NPE B/C infer well a simple example with available ground truth.
276
276
.
277
277
"""
@@ -293,14 +293,14 @@ def test_c2st_multi_round_npe_on_linearGaussian(method_str: str):
293
293
)
294
294
target_samples = gt_posterior .sample ((num_samples ,))
295
295
296
- if method_str == "npe_c_non_atomic " :
296
+ if method_str == "snpe_c_non_atomic " :
297
297
# Test whether NPE works properly with structured z-scoring.
298
298
density_estimator = posterior_nn (
299
299
"mdn" , z_score_x = "structured" , num_components = 5
300
300
)
301
301
method_str = "snpe_c"
302
302
elif method_str == "snpe_a" :
303
- density_estimator = "mdn_npe_a "
303
+ density_estimator = "mdn_snpe_a "
304
304
else :
305
305
density_estimator = "maf"
306
306
You can’t perform that action at this time.
0 commit comments