mlos_bench.environments.status
Enum for the status of the benchmark/environment Trial or Experiment.
Classes
Enum for the status of the benchmark/environment Trial or Experiment. |
Module Contents
- class mlos_bench.environments.status.Status(*args, **kwds)[source]
Bases:
enum.Enum
Enum for the status of the benchmark/environment Trial or Experiment.
- is_canceled() bool [source]
Check if the status of the benchmark/environment Trial or Experiment is CANCELED.
- Return type:
- is_completed() bool [source]
Check if the status of the benchmark/environment Trial or Experiment is one of {SUCCEEDED, CANCELED, FAILED, TIMED_OUT}.
- Return type:
- is_failed() bool [source]
Check if the status of the benchmark/environment Trial or Experiment is FAILED.
- Return type:
- is_pending() bool [source]
Check if the status of the benchmark/environment Trial or Experiment is PENDING.
- Return type:
- is_ready() bool [source]
Check if the status of the benchmark/environment Trial or Experiment is READY.
- Return type:
- is_succeeded() bool [source]
Check if the status of the benchmark/environment Trial or Experiment is SUCCEEDED.
- Return type: