From e57da1a6d586cee7f62007955bd8edb961871353 Mon Sep 17 00:00:00 2001 From: atrayees <121290945+atrayees@users.noreply.github.com> Date: Fri, 26 Jul 2024 18:15:02 +0530 Subject: [PATCH] fix ess calculation --- examples/correlation_matrices/sampler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/correlation_matrices/sampler.cpp b/examples/correlation_matrices/sampler.cpp index 48d689267..767ec19da 100644 --- a/examples/correlation_matrices/sampler.cpp +++ b/examples/correlation_matrices/sampler.cpp @@ -180,7 +180,7 @@ void tune_walkL(const std::vector& walkL_values, const std::vector //calculate ess unsigned int min_ess = 0; VT ess_vector = effective_sample_size(samples, min_ess); - std::cout << "Minimum Ess = " << min_ess << std::endl; + std::cout << "Minimum Effective sample space = " << min_ess/num_matrices << std::endl; // Clear the matrices for the next iteration randCorMatrices.clear();