optuna.trial.TrialState

class optuna.trial.TrialState(value)[源代码]

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.

Attributes

COMPLETE

FAIL

PRUNED

RUNNING

WAITING