Table of Contents

Enum TrialState

Namespace
OptunaSharp
Assembly
OptunaSharp.dll

State of a Trial. Port of optuna/trial/_state.py; the numeric values are Optuna's and are persisted by storages.

public enum TrialState
Extension Methods

Fields

Running = 0

The Trial is running.

Complete = 1

The Trial has been finished without any error.

Pruned = 2

The Trial has been pruned with TrialPruned.

Fail = 3

The Trial has failed due to an uncaught error.

Waiting = 4

The Trial is waiting and unfinished.