source: vendor/google/apiclient-services/src/Aiplatform/GoogleCloudAiplatformV1StudySpec.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload project files

  • Property mode set to 100644
File size: 5.2 KB
RevLine 
[e3d4e0a]1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Aiplatform;
19
20class GoogleCloudAiplatformV1StudySpec extends \Google\Collection
21{
22 protected $collection_key = 'parameters';
23 /**
24 * @var string
25 */
26 public $algorithm;
27 protected $convexAutomatedStoppingSpecType = GoogleCloudAiplatformV1StudySpecConvexAutomatedStoppingSpec::class;
28 protected $convexAutomatedStoppingSpecDataType = '';
29 protected $decayCurveStoppingSpecType = GoogleCloudAiplatformV1StudySpecDecayCurveAutomatedStoppingSpec::class;
30 protected $decayCurveStoppingSpecDataType = '';
31 /**
32 * @var string
33 */
34 public $measurementSelectionType;
35 protected $medianAutomatedStoppingSpecType = GoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec::class;
36 protected $medianAutomatedStoppingSpecDataType = '';
37 protected $metricsType = GoogleCloudAiplatformV1StudySpecMetricSpec::class;
38 protected $metricsDataType = 'array';
39 /**
40 * @var string
41 */
42 public $observationNoise;
43 protected $parametersType = GoogleCloudAiplatformV1StudySpecParameterSpec::class;
44 protected $parametersDataType = 'array';
45 protected $studyStoppingConfigType = GoogleCloudAiplatformV1StudySpecStudyStoppingConfig::class;
46 protected $studyStoppingConfigDataType = '';
47
48 /**
49 * @param string
50 */
51 public function setAlgorithm($algorithm)
52 {
53 $this->algorithm = $algorithm;
54 }
55 /**
56 * @return string
57 */
58 public function getAlgorithm()
59 {
60 return $this->algorithm;
61 }
62 /**
63 * @param GoogleCloudAiplatformV1StudySpecConvexAutomatedStoppingSpec
64 */
65 public function setConvexAutomatedStoppingSpec(GoogleCloudAiplatformV1StudySpecConvexAutomatedStoppingSpec $convexAutomatedStoppingSpec)
66 {
67 $this->convexAutomatedStoppingSpec = $convexAutomatedStoppingSpec;
68 }
69 /**
70 * @return GoogleCloudAiplatformV1StudySpecConvexAutomatedStoppingSpec
71 */
72 public function getConvexAutomatedStoppingSpec()
73 {
74 return $this->convexAutomatedStoppingSpec;
75 }
76 /**
77 * @param GoogleCloudAiplatformV1StudySpecDecayCurveAutomatedStoppingSpec
78 */
79 public function setDecayCurveStoppingSpec(GoogleCloudAiplatformV1StudySpecDecayCurveAutomatedStoppingSpec $decayCurveStoppingSpec)
80 {
81 $this->decayCurveStoppingSpec = $decayCurveStoppingSpec;
82 }
83 /**
84 * @return GoogleCloudAiplatformV1StudySpecDecayCurveAutomatedStoppingSpec
85 */
86 public function getDecayCurveStoppingSpec()
87 {
88 return $this->decayCurveStoppingSpec;
89 }
90 /**
91 * @param string
92 */
93 public function setMeasurementSelectionType($measurementSelectionType)
94 {
95 $this->measurementSelectionType = $measurementSelectionType;
96 }
97 /**
98 * @return string
99 */
100 public function getMeasurementSelectionType()
101 {
102 return $this->measurementSelectionType;
103 }
104 /**
105 * @param GoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec
106 */
107 public function setMedianAutomatedStoppingSpec(GoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec $medianAutomatedStoppingSpec)
108 {
109 $this->medianAutomatedStoppingSpec = $medianAutomatedStoppingSpec;
110 }
111 /**
112 * @return GoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec
113 */
114 public function getMedianAutomatedStoppingSpec()
115 {
116 return $this->medianAutomatedStoppingSpec;
117 }
118 /**
119 * @param GoogleCloudAiplatformV1StudySpecMetricSpec[]
120 */
121 public function setMetrics($metrics)
122 {
123 $this->metrics = $metrics;
124 }
125 /**
126 * @return GoogleCloudAiplatformV1StudySpecMetricSpec[]
127 */
128 public function getMetrics()
129 {
130 return $this->metrics;
131 }
132 /**
133 * @param string
134 */
135 public function setObservationNoise($observationNoise)
136 {
137 $this->observationNoise = $observationNoise;
138 }
139 /**
140 * @return string
141 */
142 public function getObservationNoise()
143 {
144 return $this->observationNoise;
145 }
146 /**
147 * @param GoogleCloudAiplatformV1StudySpecParameterSpec[]
148 */
149 public function setParameters($parameters)
150 {
151 $this->parameters = $parameters;
152 }
153 /**
154 * @return GoogleCloudAiplatformV1StudySpecParameterSpec[]
155 */
156 public function getParameters()
157 {
158 return $this->parameters;
159 }
160 /**
161 * @param GoogleCloudAiplatformV1StudySpecStudyStoppingConfig
162 */
163 public function setStudyStoppingConfig(GoogleCloudAiplatformV1StudySpecStudyStoppingConfig $studyStoppingConfig)
164 {
165 $this->studyStoppingConfig = $studyStoppingConfig;
166 }
167 /**
168 * @return GoogleCloudAiplatformV1StudySpecStudyStoppingConfig
169 */
170 public function getStudyStoppingConfig()
171 {
172 return $this->studyStoppingConfig;
173 }
174}
175
176// Adding a class alias for backwards compatibility with the previous class name.
177class_alias(GoogleCloudAiplatformV1StudySpec::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1StudySpec');
Note: See TracBrowser for help on using the repository browser.