dflemin3 / approxposterior

A Python package for approximate Bayesian inference and optimization using Gaussian processes
https://dflemin3.github.io/approxposterior/
MIT License
41 stars 9 forks source link

Made burnin estimation its own function, added a test #65

Closed dflemin3 closed 4 years ago

dflemin3 commented 4 years ago

Small PR that adds turns code that should have already been a function into a stand-alone MCMC utility function while maintaining backwards compatibility. This PR also adds a test for this new function based on the classic emcee "fitting a line" example.