Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class CompleteTrialRequest.
Request message for VizierService.CompleteTrial.
Generated from protobuf message google.cloud.aiplatform.v1.CompleteTrialRequest
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The Trial's name. Format: |
↳ final_measurement |
Google\Cloud\AIPlatform\V1\Measurement
Optional. If provided, it will be used as the completed Trial's final_measurement; Otherwise, the service will auto-select a previously reported measurement as the final-measurement |
↳ trial_infeasible |
bool
Optional. True if the Trial cannot be run with the given Parameter, and final_measurement will be ignored. |
↳ infeasible_reason |
string
Optional. A human readable reason why the trial was infeasible. This should only be provided if |
getName
Required. The Trial's name.
Format:
projects/{project}/locations/{location}/studies/{study}/trials/{trial}
Returns | |
---|---|
Type | Description |
string |
setName
Required. The Trial's name.
Format:
projects/{project}/locations/{location}/studies/{study}/trials/{trial}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getFinalMeasurement
Optional. If provided, it will be used as the completed Trial's final_measurement; Otherwise, the service will auto-select a previously reported measurement as the final-measurement
Returns | |
---|---|
Type | Description |
Google\Cloud\AIPlatform\V1\Measurement|null |
hasFinalMeasurement
clearFinalMeasurement
setFinalMeasurement
Optional. If provided, it will be used as the completed Trial's final_measurement; Otherwise, the service will auto-select a previously reported measurement as the final-measurement
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AIPlatform\V1\Measurement
|
Returns | |
---|---|
Type | Description |
$this |
getTrialInfeasible
Optional. True if the Trial cannot be run with the given Parameter, and final_measurement will be ignored.
Returns | |
---|---|
Type | Description |
bool |
setTrialInfeasible
Optional. True if the Trial cannot be run with the given Parameter, and final_measurement will be ignored.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getInfeasibleReason
Optional. A human readable reason why the trial was infeasible. This should
only be provided if trial_infeasible
is true.
Returns | |
---|---|
Type | Description |
string |
setInfeasibleReason
Optional. A human readable reason why the trial was infeasible. This should
only be provided if trial_infeasible
is true.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |