print main logNormalizationConstant in GaussianMixture

release/4.3a0
Varun Agrawal 2024-08-20 16:22:07 -04:00
parent 7fab3f8cc3
commit ccad6f6c48
1 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,8 @@ void GaussianMixture::print(const std::string &s,
std::cout << "(" << formatter(dk.first) << ", " << dk.second << "), "; std::cout << "(" << formatter(dk.first) << ", " << dk.second << "), ";
} }
std::cout << "\n"; std::cout << "\n";
std::cout << " logNormalizationConstant: " << logConstant_ << "\n"
<< std::endl;
conditionals_.print( conditionals_.print(
"", [&](Key k) { return formatter(k); }, "", [&](Key k) { return formatter(k); },
[&](const GaussianConditional::shared_ptr &gf) -> std::string { [&](const GaussianConditional::shared_ptr &gf) -> std::string {