VMBoehm / MnuLFI

throwing LFI on massiveNus sims
MIT License
3 stars 4 forks source link

non-zero covariance mixture models #2

Closed changhoonhahn closed 5 years ago

changhoonhahn commented 5 years ago

In the current pyDELFI implementation, mixture models for NDE can have zero covariance, which results in weird posteriors. @VMBoehm @eiffl

VMBoehm commented 5 years ago

added option to add offset to diagonal of the mixture covariances (use pydelfi on branch 'stable', https://github.com/VMBoehm/pydelfi/tree/stable) Usage: pass an offset parameter (default 1e-6) to MixtureDensityNetwork. Example in https://github.com/VMBoehm/pydelfi/blob/stable/examples/cosmic_shear_prerun_sims-changing_params.ipynb