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

Add a warning for when the GP optimization optGPEveryN > m #62

Closed dflemin3 closed 4 years ago

dflemin3 commented 4 years ago

If optGPEveryN > m, that is, the GP hyperparameter optimization cadence is greater than the number of new points to find per iteration, the GP hyperparameters will never be re-optimized. approxposterior should at least warn the user if this is occurring. See line 681 in approx.py for where this can be fixed and/or where an error/warning could be raised.

dflemin3 commented 4 years ago

Fixed by #63