optuna.trial.TrialState

class optuna.trial.TrialState(value)[source]

State of a Trial.

RUNNING

The Trial is running.

COMPLETE

The Trial has been finished without any error.

PRUNED

The Trial has been pruned with TrialPruned.

FAIL

The Trial has failed due to an uncaught error.

__init__()

Methods

is_finished()

Attributes

RUNNING

COMPLETE

PRUNED

FAIL

WAITING