Duplicate emulators when repeating emulator = Emulator(); optimize_hyperparameters!(emulator)
#280
Labels
bug
Something isn't working
Repeating
emulator = Emulator(gauss_proc, test_data); optimize_hyperparameters!(emulator)
seems to create multiple copies of the emulator within theemulator
object, rather than overwriting theemulator
each time.I'm not sure if this is a bug or if it is intended and I am using the API improperly.
I also see
LinearAlgebra.PosDefException(3)
popping up in the output ofoptimize_hyperparameters
, I am not sure if that is related.Simple reproducer:
Note that recreating the
GaussianProcess
resets theemulator
var.Repeated calls to just
optimize_hyperparameters!
do not have this effect either:The text was updated successfully, but these errors were encountered: