Skip to content

[GENERAL SUPPORT]: Remove completed trial from experiment #3946

@claysmyth

Description

@claysmyth

Question

Is there a means to remove a trial from an experiment?

I.e. something along the lines of:

ax_client.remove_trial(trial_index=index)

Basically the opposite of ax_client.attach_trial().

I scoured the documentation and could not find a clean solution. A potential work-around would be to save the experiment to json, and manually delete the desired trials from the json file, and load in the new json. Please let me know if I am missing something!

For context on motivation - I'm using Ax for real world (e.g. biological) experiments, and occasionally observations are made on corrupted data or invalid trials, but still get logged to the experiment object. To retroactively remove trials known to be bad would be a convenient feature!

Sincerely,
Clay Smyth

Please provide any relevant code snippet if applicable.

Code of Conduct

  • I agree to follow this Ax's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions