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

Benchmark bugfixes #86

Closed Bobby-Huggins closed 2 years ago

Bobby-Huggins commented 2 years ago

This commit fixes some minor bugs encountered while benchmarking. The most significant are:

  1. ParameterTransformer now handles points near the hard bounds identically to MATLAB. This should fix rare issues with points mapping to +/- infinity in the inference space.
  2. finalboost() now acts on the vp passed as an argument, instead of VBMC.vp, since these are not always the same object. I think this could have been related to Issue #68.

The rest are edge cases or points of style that don't have significant consequences in general.

Thanks, let me know if you have any questions.