optuna.trial.TrialState

class optuna.trial.TrialState[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__()

Initialize self. See help(type(self)) for accurate signature.

Attributes

COMPLETE

FAIL

PRUNED

RUNNING

WAITING