@@ -122,7 +122,7 @@ def run_example(
122
122
123
123
# Run multiple realisations.
124
124
n_realisations = 1
125
- evidence_inv_summary = np .zeros ((n_realisations , 3 ))
125
+ ln_evidence_inv_summary = np .zeros ((n_realisations , 3 ))
126
126
for i_realisation in range (n_realisations ):
127
127
if n_realisations > 0 :
128
128
hm .logs .info_log (
@@ -292,28 +292,28 @@ def run_example(
292
292
plt .show ()
293
293
294
294
# Save out realisations for violin plot.
295
- evidence_inv_summary [i_realisation , 0 ] = ev .evidence_inv
296
- evidence_inv_summary [i_realisation , 1 ] = ev .evidence_inv_var
297
- evidence_inv_summary [i_realisation , 2 ] = ev .evidence_inv_var_var
295
+ ln_evidence_inv_summary [i_realisation , 0 ] = ev .ln_evidence_inv
296
+ ln_evidence_inv_summary [i_realisation , 1 ] = ev .ln_evidence_inv_var
297
+ ln_evidence_inv_summary [i_realisation , 2 ] = ev .ln_evidence_inv_var_var
298
298
299
299
clock = time .process_time () - clock
300
300
hm .logs .info_log ("Execution_time = {}s" .format (clock ))
301
301
302
302
if n_realisations > 1 :
303
303
save_name = (
304
304
save_name_start
305
- + "_gaussian_nondiagcov_evidence_inv "
305
+ + "_gaussian_nondiagcov_ln_evidence_inv "
306
306
+ "_realisations_{}D.dat" .format (ndim )
307
307
)
308
- np .savetxt (save_name , evidence_inv_summary )
309
- evidence_inv_analytic_summary = np .zeros (1 )
310
- evidence_inv_analytic_summary [0 ] = np . exp ( - ln_evidence_analytic )
308
+ np .savetxt (save_name , ln_evidence_inv_summary )
309
+ ln_evidence_inv_analytic_summary = np .zeros (1 )
310
+ ln_evidence_inv_analytic_summary [0 ] = - ln_evidence_analytic
311
311
save_name = (
312
312
save_name_start
313
- + "_gaussian_nondiagcov_evidence_inv "
313
+ + "_gaussian_nondiagcov_ln_evidence_inv "
314
314
+ "_analytic_{}D.dat" .format (ndim )
315
315
)
316
- np .savetxt (save_name , evidence_inv_analytic_summary )
316
+ np .savetxt (save_name , ln_evidence_inv_analytic_summary )
317
317
318
318
created_plots = True
319
319
if created_plots :
0 commit comments