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 |
|
---|
18 | namespace Google\Service\Bigquery;
|
---|
19 |
|
---|
20 | class HparamSearchSpaces extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $activationFnType = StringHparamSearchSpace::class;
|
---|
23 | protected $activationFnDataType = '';
|
---|
24 | protected $batchSizeType = IntHparamSearchSpace::class;
|
---|
25 | protected $batchSizeDataType = '';
|
---|
26 | protected $boosterTypeType = StringHparamSearchSpace::class;
|
---|
27 | protected $boosterTypeDataType = '';
|
---|
28 | protected $colsampleBylevelType = DoubleHparamSearchSpace::class;
|
---|
29 | protected $colsampleBylevelDataType = '';
|
---|
30 | protected $colsampleBynodeType = DoubleHparamSearchSpace::class;
|
---|
31 | protected $colsampleBynodeDataType = '';
|
---|
32 | protected $colsampleBytreeType = DoubleHparamSearchSpace::class;
|
---|
33 | protected $colsampleBytreeDataType = '';
|
---|
34 | protected $dartNormalizeTypeType = StringHparamSearchSpace::class;
|
---|
35 | protected $dartNormalizeTypeDataType = '';
|
---|
36 | protected $dropoutType = DoubleHparamSearchSpace::class;
|
---|
37 | protected $dropoutDataType = '';
|
---|
38 | protected $hiddenUnitsType = IntArrayHparamSearchSpace::class;
|
---|
39 | protected $hiddenUnitsDataType = '';
|
---|
40 | protected $l1RegType = DoubleHparamSearchSpace::class;
|
---|
41 | protected $l1RegDataType = '';
|
---|
42 | protected $l2RegType = DoubleHparamSearchSpace::class;
|
---|
43 | protected $l2RegDataType = '';
|
---|
44 | protected $learnRateType = DoubleHparamSearchSpace::class;
|
---|
45 | protected $learnRateDataType = '';
|
---|
46 | protected $maxTreeDepthType = IntHparamSearchSpace::class;
|
---|
47 | protected $maxTreeDepthDataType = '';
|
---|
48 | protected $minSplitLossType = DoubleHparamSearchSpace::class;
|
---|
49 | protected $minSplitLossDataType = '';
|
---|
50 | protected $minTreeChildWeightType = IntHparamSearchSpace::class;
|
---|
51 | protected $minTreeChildWeightDataType = '';
|
---|
52 | protected $numClustersType = IntHparamSearchSpace::class;
|
---|
53 | protected $numClustersDataType = '';
|
---|
54 | protected $numFactorsType = IntHparamSearchSpace::class;
|
---|
55 | protected $numFactorsDataType = '';
|
---|
56 | protected $numParallelTreeType = IntHparamSearchSpace::class;
|
---|
57 | protected $numParallelTreeDataType = '';
|
---|
58 | protected $optimizerType = StringHparamSearchSpace::class;
|
---|
59 | protected $optimizerDataType = '';
|
---|
60 | protected $subsampleType = DoubleHparamSearchSpace::class;
|
---|
61 | protected $subsampleDataType = '';
|
---|
62 | protected $treeMethodType = StringHparamSearchSpace::class;
|
---|
63 | protected $treeMethodDataType = '';
|
---|
64 | protected $walsAlphaType = DoubleHparamSearchSpace::class;
|
---|
65 | protected $walsAlphaDataType = '';
|
---|
66 |
|
---|
67 | /**
|
---|
68 | * @param StringHparamSearchSpace
|
---|
69 | */
|
---|
70 | public function setActivationFn(StringHparamSearchSpace $activationFn)
|
---|
71 | {
|
---|
72 | $this->activationFn = $activationFn;
|
---|
73 | }
|
---|
74 | /**
|
---|
75 | * @return StringHparamSearchSpace
|
---|
76 | */
|
---|
77 | public function getActivationFn()
|
---|
78 | {
|
---|
79 | return $this->activationFn;
|
---|
80 | }
|
---|
81 | /**
|
---|
82 | * @param IntHparamSearchSpace
|
---|
83 | */
|
---|
84 | public function setBatchSize(IntHparamSearchSpace $batchSize)
|
---|
85 | {
|
---|
86 | $this->batchSize = $batchSize;
|
---|
87 | }
|
---|
88 | /**
|
---|
89 | * @return IntHparamSearchSpace
|
---|
90 | */
|
---|
91 | public function getBatchSize()
|
---|
92 | {
|
---|
93 | return $this->batchSize;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @param StringHparamSearchSpace
|
---|
97 | */
|
---|
98 | public function setBoosterType(StringHparamSearchSpace $boosterType)
|
---|
99 | {
|
---|
100 | $this->boosterType = $boosterType;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @return StringHparamSearchSpace
|
---|
104 | */
|
---|
105 | public function getBoosterType()
|
---|
106 | {
|
---|
107 | return $this->boosterType;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @param DoubleHparamSearchSpace
|
---|
111 | */
|
---|
112 | public function setColsampleBylevel(DoubleHparamSearchSpace $colsampleBylevel)
|
---|
113 | {
|
---|
114 | $this->colsampleBylevel = $colsampleBylevel;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @return DoubleHparamSearchSpace
|
---|
118 | */
|
---|
119 | public function getColsampleBylevel()
|
---|
120 | {
|
---|
121 | return $this->colsampleBylevel;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @param DoubleHparamSearchSpace
|
---|
125 | */
|
---|
126 | public function setColsampleBynode(DoubleHparamSearchSpace $colsampleBynode)
|
---|
127 | {
|
---|
128 | $this->colsampleBynode = $colsampleBynode;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @return DoubleHparamSearchSpace
|
---|
132 | */
|
---|
133 | public function getColsampleBynode()
|
---|
134 | {
|
---|
135 | return $this->colsampleBynode;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @param DoubleHparamSearchSpace
|
---|
139 | */
|
---|
140 | public function setColsampleBytree(DoubleHparamSearchSpace $colsampleBytree)
|
---|
141 | {
|
---|
142 | $this->colsampleBytree = $colsampleBytree;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @return DoubleHparamSearchSpace
|
---|
146 | */
|
---|
147 | public function getColsampleBytree()
|
---|
148 | {
|
---|
149 | return $this->colsampleBytree;
|
---|
150 | }
|
---|
151 | /**
|
---|
152 | * @param StringHparamSearchSpace
|
---|
153 | */
|
---|
154 | public function setDartNormalizeType(StringHparamSearchSpace $dartNormalizeType)
|
---|
155 | {
|
---|
156 | $this->dartNormalizeType = $dartNormalizeType;
|
---|
157 | }
|
---|
158 | /**
|
---|
159 | * @return StringHparamSearchSpace
|
---|
160 | */
|
---|
161 | public function getDartNormalizeType()
|
---|
162 | {
|
---|
163 | return $this->dartNormalizeType;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @param DoubleHparamSearchSpace
|
---|
167 | */
|
---|
168 | public function setDropout(DoubleHparamSearchSpace $dropout)
|
---|
169 | {
|
---|
170 | $this->dropout = $dropout;
|
---|
171 | }
|
---|
172 | /**
|
---|
173 | * @return DoubleHparamSearchSpace
|
---|
174 | */
|
---|
175 | public function getDropout()
|
---|
176 | {
|
---|
177 | return $this->dropout;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @param IntArrayHparamSearchSpace
|
---|
181 | */
|
---|
182 | public function setHiddenUnits(IntArrayHparamSearchSpace $hiddenUnits)
|
---|
183 | {
|
---|
184 | $this->hiddenUnits = $hiddenUnits;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @return IntArrayHparamSearchSpace
|
---|
188 | */
|
---|
189 | public function getHiddenUnits()
|
---|
190 | {
|
---|
191 | return $this->hiddenUnits;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @param DoubleHparamSearchSpace
|
---|
195 | */
|
---|
196 | public function setL1Reg(DoubleHparamSearchSpace $l1Reg)
|
---|
197 | {
|
---|
198 | $this->l1Reg = $l1Reg;
|
---|
199 | }
|
---|
200 | /**
|
---|
201 | * @return DoubleHparamSearchSpace
|
---|
202 | */
|
---|
203 | public function getL1Reg()
|
---|
204 | {
|
---|
205 | return $this->l1Reg;
|
---|
206 | }
|
---|
207 | /**
|
---|
208 | * @param DoubleHparamSearchSpace
|
---|
209 | */
|
---|
210 | public function setL2Reg(DoubleHparamSearchSpace $l2Reg)
|
---|
211 | {
|
---|
212 | $this->l2Reg = $l2Reg;
|
---|
213 | }
|
---|
214 | /**
|
---|
215 | * @return DoubleHparamSearchSpace
|
---|
216 | */
|
---|
217 | public function getL2Reg()
|
---|
218 | {
|
---|
219 | return $this->l2Reg;
|
---|
220 | }
|
---|
221 | /**
|
---|
222 | * @param DoubleHparamSearchSpace
|
---|
223 | */
|
---|
224 | public function setLearnRate(DoubleHparamSearchSpace $learnRate)
|
---|
225 | {
|
---|
226 | $this->learnRate = $learnRate;
|
---|
227 | }
|
---|
228 | /**
|
---|
229 | * @return DoubleHparamSearchSpace
|
---|
230 | */
|
---|
231 | public function getLearnRate()
|
---|
232 | {
|
---|
233 | return $this->learnRate;
|
---|
234 | }
|
---|
235 | /**
|
---|
236 | * @param IntHparamSearchSpace
|
---|
237 | */
|
---|
238 | public function setMaxTreeDepth(IntHparamSearchSpace $maxTreeDepth)
|
---|
239 | {
|
---|
240 | $this->maxTreeDepth = $maxTreeDepth;
|
---|
241 | }
|
---|
242 | /**
|
---|
243 | * @return IntHparamSearchSpace
|
---|
244 | */
|
---|
245 | public function getMaxTreeDepth()
|
---|
246 | {
|
---|
247 | return $this->maxTreeDepth;
|
---|
248 | }
|
---|
249 | /**
|
---|
250 | * @param DoubleHparamSearchSpace
|
---|
251 | */
|
---|
252 | public function setMinSplitLoss(DoubleHparamSearchSpace $minSplitLoss)
|
---|
253 | {
|
---|
254 | $this->minSplitLoss = $minSplitLoss;
|
---|
255 | }
|
---|
256 | /**
|
---|
257 | * @return DoubleHparamSearchSpace
|
---|
258 | */
|
---|
259 | public function getMinSplitLoss()
|
---|
260 | {
|
---|
261 | return $this->minSplitLoss;
|
---|
262 | }
|
---|
263 | /**
|
---|
264 | * @param IntHparamSearchSpace
|
---|
265 | */
|
---|
266 | public function setMinTreeChildWeight(IntHparamSearchSpace $minTreeChildWeight)
|
---|
267 | {
|
---|
268 | $this->minTreeChildWeight = $minTreeChildWeight;
|
---|
269 | }
|
---|
270 | /**
|
---|
271 | * @return IntHparamSearchSpace
|
---|
272 | */
|
---|
273 | public function getMinTreeChildWeight()
|
---|
274 | {
|
---|
275 | return $this->minTreeChildWeight;
|
---|
276 | }
|
---|
277 | /**
|
---|
278 | * @param IntHparamSearchSpace
|
---|
279 | */
|
---|
280 | public function setNumClusters(IntHparamSearchSpace $numClusters)
|
---|
281 | {
|
---|
282 | $this->numClusters = $numClusters;
|
---|
283 | }
|
---|
284 | /**
|
---|
285 | * @return IntHparamSearchSpace
|
---|
286 | */
|
---|
287 | public function getNumClusters()
|
---|
288 | {
|
---|
289 | return $this->numClusters;
|
---|
290 | }
|
---|
291 | /**
|
---|
292 | * @param IntHparamSearchSpace
|
---|
293 | */
|
---|
294 | public function setNumFactors(IntHparamSearchSpace $numFactors)
|
---|
295 | {
|
---|
296 | $this->numFactors = $numFactors;
|
---|
297 | }
|
---|
298 | /**
|
---|
299 | * @return IntHparamSearchSpace
|
---|
300 | */
|
---|
301 | public function getNumFactors()
|
---|
302 | {
|
---|
303 | return $this->numFactors;
|
---|
304 | }
|
---|
305 | /**
|
---|
306 | * @param IntHparamSearchSpace
|
---|
307 | */
|
---|
308 | public function setNumParallelTree(IntHparamSearchSpace $numParallelTree)
|
---|
309 | {
|
---|
310 | $this->numParallelTree = $numParallelTree;
|
---|
311 | }
|
---|
312 | /**
|
---|
313 | * @return IntHparamSearchSpace
|
---|
314 | */
|
---|
315 | public function getNumParallelTree()
|
---|
316 | {
|
---|
317 | return $this->numParallelTree;
|
---|
318 | }
|
---|
319 | /**
|
---|
320 | * @param StringHparamSearchSpace
|
---|
321 | */
|
---|
322 | public function setOptimizer(StringHparamSearchSpace $optimizer)
|
---|
323 | {
|
---|
324 | $this->optimizer = $optimizer;
|
---|
325 | }
|
---|
326 | /**
|
---|
327 | * @return StringHparamSearchSpace
|
---|
328 | */
|
---|
329 | public function getOptimizer()
|
---|
330 | {
|
---|
331 | return $this->optimizer;
|
---|
332 | }
|
---|
333 | /**
|
---|
334 | * @param DoubleHparamSearchSpace
|
---|
335 | */
|
---|
336 | public function setSubsample(DoubleHparamSearchSpace $subsample)
|
---|
337 | {
|
---|
338 | $this->subsample = $subsample;
|
---|
339 | }
|
---|
340 | /**
|
---|
341 | * @return DoubleHparamSearchSpace
|
---|
342 | */
|
---|
343 | public function getSubsample()
|
---|
344 | {
|
---|
345 | return $this->subsample;
|
---|
346 | }
|
---|
347 | /**
|
---|
348 | * @param StringHparamSearchSpace
|
---|
349 | */
|
---|
350 | public function setTreeMethod(StringHparamSearchSpace $treeMethod)
|
---|
351 | {
|
---|
352 | $this->treeMethod = $treeMethod;
|
---|
353 | }
|
---|
354 | /**
|
---|
355 | * @return StringHparamSearchSpace
|
---|
356 | */
|
---|
357 | public function getTreeMethod()
|
---|
358 | {
|
---|
359 | return $this->treeMethod;
|
---|
360 | }
|
---|
361 | /**
|
---|
362 | * @param DoubleHparamSearchSpace
|
---|
363 | */
|
---|
364 | public function setWalsAlpha(DoubleHparamSearchSpace $walsAlpha)
|
---|
365 | {
|
---|
366 | $this->walsAlpha = $walsAlpha;
|
---|
367 | }
|
---|
368 | /**
|
---|
369 | * @return DoubleHparamSearchSpace
|
---|
370 | */
|
---|
371 | public function getWalsAlpha()
|
---|
372 | {
|
---|
373 | return $this->walsAlpha;
|
---|
374 | }
|
---|
375 | }
|
---|
376 |
|
---|
377 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
378 | class_alias(HparamSearchSpaces::class, 'Google_Service_Bigquery_HparamSearchSpaces');
|
---|