-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
I am using BOLFI for optimization of a relatively complicated plasma physics code. These plasma simulations tend to sometimes become unstable, which then leads to a collapse of the sample collection step. At the moment, I simply deal with this by having an exception handling in the run script:
try:
bolfi.fit(n_evidence=#samples)
except:
bolfi.batches.reset()
However, this is a bit of an unsophisticated way and a more preferred solution would be to avoid the bolfi.batches.reset() step, continue running the rest of the batch, and just store the input parameters with which the simulations fail for later inspection for simulation failure characteristics. Is there already a way conduct this type of failure handling in ELFI/BOLFI?
Metadata
Metadata
Assignees
Labels
No labels