Resource: Trial
A message representing a trial.
JSON representation | |
---|---|
{ "name": string, "state": enum ( |
Fields | |
---|---|
name |
Output only. Name of the trial assigned by the service. |
state |
The detailed state of a trial. |
parameters[] |
The parameters of the trial. |
finalMeasurement |
The final measurement containing the objective value. |
measurements[] |
A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsedTime). These are used for early stopping computations. |
startTime |
Output only. Time at which the trial was started. |
endTime |
Output only. Time at which the trial's status changed to COMPLETED. |
clientId |
Output only. The identifier of the client that originally requested this trial. |
trialInfeasible |
Output only. If true, the parameters in this trial are not attempted again. |
infeasibleReason |
Output only. A human readable string describing why the trial is infeasible. This should only be set if trialInfeasible is true. |
State
Describes the trial state.
Enums | |
---|---|
STATE_UNSPECIFIED |
The trial state is unspecified. |
REQUESTED |
Indicates that a specific trial has been requested, but it has not yet been suggested by the service. |
ACTIVE |
Indicates that the trial has been suggested. |
COMPLETED |
Indicates that the trial is done, and either has a finalMeasurement set, or is marked as trialInfeasible. |
STOPPING |
Indicates that the trial should stop according to the service. |
Parameter
A message representing a parameter to be tuned. Contains the name of the parameter and the suggested value to use for this trial.
JSON representation | |
---|---|
{ "parameter": string, // Union field |
Fields | ||
---|---|---|
parameter |
The name of the parameter. |
|
Union field value . The value of the parameter. value can be only one of the following: |
||
floatValue |
Must be set if ParameterType is DOUBLE or DISCRETE. |
|
intValue |
Must be set if ParameterType is INTEGER |
|
stringValue |
Must be set if ParameterTypeis CATEGORICAL |
Measurement
A message representing a measurement.
JSON representation | |
---|---|
{
"elapsedTime": string,
"stepCount": string,
"metrics": [
{
object ( |
Fields | |
---|---|
elapsedTime |
Output only. Time that the trial has been running at the point of this measurement. |
stepCount |
The number of steps a machine learning model has been trained for. Must be non-negative. |
metrics[] |
Provides a list of metrics that act as inputs into the objective function. |
Metric
A message representing a metric in the measurement.
JSON representation | |
---|---|
{ "metric": string, "value": number } |
Fields | |
---|---|
metric |
Required. Metric name. |
value |
Required. The value for this metric. |
Methods |
|
---|---|
|
Adds a measurement of the objective metrics to a trial. |
|
Checks whether a trial should stop or not. |
|
Marks a trial as complete. |
|
Adds a user provided trial to a study. |
|
Deletes a trial. |
|
Gets a trial. |
|
Lists the trials associated with a study. |
|
Stops a trial. |
|
Adds one or more trials to a study, with parameter values suggested by AI Platform Vizier. |