optuna.trial.TrialState

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

State of a Trial.

RUNNING

The Trial is running.

WAITING

The Trial is waiting and unfinished.

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.

Attributes

COMPLETE

FAIL

PRUNED

RUNNING

WAITING