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

Let users set the name of the output files #36

Closed jlustigy closed 5 years ago

jlustigy commented 5 years ago

Currently chainFile does this for the MCMC chains, but it would be nice to make this an attribute of approxposterior.approx.ApproxPosterior for all associated outputs.

dflemin3 commented 5 years ago

Good catch! I removed the parameter chainFile and replaced it with runName where runName is the generic prefix for all cached files, i.e. those written when cache == True. The change is on the dev branch and will be migrated to master shortly.