Add code to recover posterior density by training an unconditional flow on dingo samples. This is necessary, since we lose access to the density with GNPE.
Beyond new scripts for this task, I needed to update dingo.core.models.PosteriorModel and some functions in dingo.core.nn.nsf to allow for unconditional sampling.
Add code to recover posterior density by training an unconditional flow on dingo samples. This is necessary, since we lose access to the density with GNPE.
Beyond new scripts for this task, I needed to update
dingo.core.models.PosteriorModel
and some functions indingo.core.nn.nsf
to allow for unconditional sampling.Still needs clean up!