GetTrialResult class
Result data returned by getTrial.
Constructors
-
GetTrialResult({required String clientId, required String customJob, required String endTime, required GoogleCloudAiplatformV1MeasurementResponse finalMeasurement, required String infeasibleReason, required List<
GoogleCloudAiplatformV1MeasurementResponse> measurements, required String name, required List<GoogleCloudAiplatformV1TrialParameterResponse> parameters, required String startTime, required String state, required Map<String, String> webAccessUris}) -
Creates a new GetTrialResult.
clientIdThe identifier of the client that originally requested this Trial. Each client is identified by a unique client_id. When a client asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client should evaluate the Trial, complete it, and report back to Vertex AI Vizier. If suggestion is asked again by same client_id before the Trial is completed, the same Trial will be returned. Multiple clients with different client_ids can ask for suggestions simultaneously, each of them will get their own Trial.customJobThe CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial.endTimeTime when the Trial's status changed toSUCCEEDEDorINFEASIBLE.finalMeasurementThe final measurement containing the objective value.infeasibleReasonA human readable string describing why the Trial is infeasible. This is set only if Trial state isINFEASIBLE.measurementsA list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_duration). These are used for early stopping computations.nameResource name of the Trial assigned by the service.parametersThe parameters of the Trial.startTimeTime when the Trial was started.stateThe detailed state of the Trial.webAccessUrisURIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a HyperparameterTuningJob and the job's trial_job_spec.enable_web_access field istrue. The keys are names of each node used for the trial; for example,workerpool0-0for the primary node,workerpool1-0for the first node in the second worker pool, andworkerpool1-1for the second node in the second worker pool. The values are the URIs for each node's interactive shell.const -
GetTrialResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- clientId → String
-
The identifier of the client that originally requested this Trial. Each client is identified by a unique client_id. When a client asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client should evaluate the Trial, complete it, and report back to Vertex AI Vizier. If suggestion is asked again by same client_id before the Trial is completed, the same Trial will be returned. Multiple clients with different client_ids can ask for suggestions simultaneously, each of them will get their own Trial.
final
- customJob → String
-
The CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial.
final
- endTime → String
-
Time when the Trial's status changed to
SUCCEEDEDorINFEASIBLE.final - finalMeasurement → GoogleCloudAiplatformV1MeasurementResponse
-
The final measurement containing the objective value.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- infeasibleReason → String
-
A human readable string describing why the Trial is infeasible. This is set only if Trial state is
INFEASIBLE.final -
measurements
→ List<
GoogleCloudAiplatformV1MeasurementResponse> -
A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_duration). These are used for early stopping computations.
final
- name → String
-
Resource name of the Trial assigned by the service.
final
-
parameters
→ List<
GoogleCloudAiplatformV1TrialParameterResponse> -
The parameters of the Trial.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → String
-
Time when the Trial was started.
final
- state → String
-
The detailed state of the Trial.
final
-
webAccessUris
→ Map<
String, String> -
URIs for accessing interactive shells (one URI for each training node). Only available if this trial is part of a HyperparameterTuningJob and the job's trial_job_spec.enable_web_access field is
true. The keys are names of each node used for the trial; for example,workerpool0-0for the primary node,workerpool1-0for the first node in the second worker pool, andworkerpool1-1for the second node in the second worker pool. The values are the URIs for each node's interactive shell.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited