Skip to content

Processing failed simulations / samples #433

@aejarvin

Description

@aejarvin

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions