ProjectsLocationsStudiesTrials
class ProjectsLocationsStudiesTrials extends Resource (View source)
The "trials" collection of methods.
Typical usage is:
$aiplatformService = new Google\Service\Aiplatform(...);
$trials = $aiplatformService->projects_locations_studies_trials;
Methods
Adds a measurement of the objective metrics to a Trial. This measurement is assumed to have been taken before the Trial is complete.
Checks whether a Trial should stop or not. Returns a long-running operation.
Marks a Trial as complete. (trials.complete)
Adds a user provided Trial to a Study. (trials.create)
Deletes a Trial. (trials.delete)
Gets a Trial. (trials.get)
Lists the Trials associated with a Study.
Lists the pareto-optimal Trials for multi-objective Study or the optimal Trials for single-objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency (trials.listOptimalTrials)
Stops a Trial. (trials.stop)
Adds one or more Trials to a Study, with parameter values suggested by Vertex AI Vizier. Returns a long-running operation associated with the generation of Trial suggestions. When this long-running operation succeeds, it will contain a SuggestTrialsResponse. (trials.suggest)
Details
GoogleCloudAiplatformV1Trial
addTrialMeasurement(string $trialName, GoogleCloudAiplatformV1AddTrialMeasurementRequest $postBody, array $optParams = [])
Adds a measurement of the objective metrics to a Trial. This measurement is assumed to have been taken before the Trial is complete.
(trials.addTrialMeasurement)
GoogleLongrunningOperation
checkTrialEarlyStoppingState(string $trialName, GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateRequest $postBody, array $optParams = [])
Checks whether a Trial should stop or not. Returns a long-running operation.
When the operation is successful, it will contain a CheckTrialEarlyStoppingStateResponse. (trials.checkTrialEarlyStoppingState)
GoogleCloudAiplatformV1Trial
complete(string $name, GoogleCloudAiplatformV1CompleteTrialRequest $postBody, array $optParams = [])
Marks a Trial as complete. (trials.complete)
GoogleCloudAiplatformV1Trial
create(string $parent, GoogleCloudAiplatformV1Trial $postBody, array $optParams = [])
Adds a user provided Trial to a Study. (trials.create)
GoogleProtobufEmpty
delete(string $name, array $optParams = [])
Deletes a Trial. (trials.delete)
GoogleCloudAiplatformV1Trial
get(string $name, array $optParams = [])
Gets a Trial. (trials.get)
GoogleCloudAiplatformV1ListTrialsResponse
listProjectsLocationsStudiesTrials(string $parent, array $optParams = [])
Lists the Trials associated with a Study.
(trials.listProjectsLocationsStudiesTrials)
GoogleCloudAiplatformV1ListOptimalTrialsResponse
listOptimalTrials(string $parent, GoogleCloudAiplatformV1ListOptimalTrialsRequest $postBody, array $optParams = [])
Lists the pareto-optimal Trials for multi-objective Study or the optimal Trials for single-objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency (trials.listOptimalTrials)
GoogleCloudAiplatformV1Trial
stop(string $name, GoogleCloudAiplatformV1StopTrialRequest $postBody, array $optParams = [])
Stops a Trial. (trials.stop)
GoogleLongrunningOperation
suggest(string $parent, GoogleCloudAiplatformV1SuggestTrialsRequest $postBody, array $optParams = [])
Adds one or more Trials to a Study, with parameter values suggested by Vertex AI Vizier. Returns a long-running operation associated with the generation of Trial suggestions. When this long-running operation succeeds, it will contain a SuggestTrialsResponse. (trials.suggest)