acerbilab / pyvbmc

PyVBMC: Variational Bayesian Monte Carlo algorithm for posterior and model inference in Python
https://acerbilab.github.io/pyvbmc/
BSD 3-Clause "New" or "Revised" License
114 stars 6 forks source link

feat: extract kldiv_mvn to own function in stats module #8

Closed Solosneros closed 3 years ago

Solosneros commented 3 years ago

I extracted and tested the kldiv_mvn function. The logic is previously only in the vp.kldiv() method, but it is needed in VBMC as well.

I moved the kernel_density module to stats.kernel_density.

The handle_1D_input_decorator now supports multiple arguments and 0D inputs as well. It is now named handle_0D_1D_input_decorator.