blob: 0044b90e14d949115712d65ef539b87b03b74dc4 [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="ml_v1.html">AI Platform Training & Prediction API</a> . <a href="ml_v1.projects.html">projects</a> . <a href="ml_v1.projects.locations.html">locations</a> . <a href="ml_v1.projects.locations.studies.html">studies</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="ml_v1.projects.locations.studies.trials.html">trials()</a></code>
79</p>
80<p class="firstline">Returns the trials Resource.</p>
81
82<p class="toc_element">
83 <code><a href="#create">create(parent, body=None, studyId=None, x__xgafv=None)</a></code></p>
84<p class="firstline">Creates a study.</p>
85<p class="toc_element">
86 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
87<p class="firstline">Deletes a study.</p>
88<p class="toc_element">
89 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
90<p class="firstline">Gets a study.</p>
91<p class="toc_element">
92 <code><a href="#list">list(parent, x__xgafv=None)</a></code></p>
93<p class="firstline">Lists all the studies in a region for an associated project.</p>
94<h3>Method Details</h3>
95<div class="method">
96 <code class="details" id="create">create(parent, body=None, studyId=None, x__xgafv=None)</code>
97 <pre>Creates a study.
98
99Args:
100 parent: string, Required. The project and location that the study belongs to.
101Format: projects/{project}/locations/{location} (required)
102 body: object, The request body.
103 The object takes the form of:
104
105{ # A message representing a Study.
106 &quot;inactiveReason&quot;: &quot;A String&quot;, # Output only. A human readable reason why the Study is inactive.
107 # This should be empty if a study is ACTIVE or COMPLETED.
108 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the study was created.
109 &quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of a study.
110 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of a study.
111 &quot;studyConfig&quot;: { # Represents configuration of a study. # Required. Configuration of the study.
112 &quot;automatedStoppingConfig&quot;: { # Configuration for Automated Early Stopping of Trials. If no # Configuration for automated stopping of unpromising Trials.
113 # implementation_config is set, automated early stopping will not be run.
114 &quot;medianAutomatedStoppingConfig&quot;: { # The median automated stopping rule stops a pending trial if the trial&#x27;s
115 # best objective_value is strictly below the median &#x27;performance&#x27; of all
116 # completed trials reported up to the trial&#x27;s last measurement.
117 # Currently, &#x27;performance&#x27; refers to the running average of the objective
118 # values reported by the trial in each measurement.
119 &quot;useElapsedTime&quot;: True or False, # If true, the median automated stopping rule applies to
120 # measurement.use_elapsed_time, which means the elapsed_time field of
121 # the current trial&#x27;s
122 # latest measurement is used to compute the median objective
123 # value for each completed trial.
124 },
125 &quot;decayCurveStoppingConfig&quot;: {
126 &quot;useElapsedTime&quot;: True or False, # If true, measurement.elapsed_time is used as the x-axis of each
127 # Trials Decay Curve. Otherwise, Measurement.steps will be used as the
128 # x-axis.
129 },
130 },
131 &quot;metrics&quot;: [ # Metric specs for the study.
132 { # Represents a metric to optimize.
133 &quot;goal&quot;: &quot;A String&quot;, # Required. The optimization goal of the metric.
134 &quot;metric&quot;: &quot;A String&quot;, # Required. The name of the metric.
135 },
136 ],
137 &quot;algorithm&quot;: &quot;A String&quot;, # The search algorithm specified for the study.
138 &quot;parameters&quot;: [ # Required. The set of parameters to tune.
139 { # Represents a single parameter to optimize.
Bu Sun Kim65020912020-05-20 12:08:20 -0700140 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700141 &quot;parentDiscreteValues&quot;: { # Represents the spec to match discrete values from parent parameter.
142 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;DISCRETE&#x27;.
143 # All values must exist in `discrete_value_spec` of parent parameter.
144 3.14,
145 ],
146 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700147 &quot;doubleValueSpec&quot;: { # The value spec for a &#x27;DOUBLE&#x27; parameter.
148 &quot;maxValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Maximum value of the parameter.
149 &quot;minValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Minimum value of the parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700150 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700151 &quot;integerValueSpec&quot;: { # The value spec for an &#x27;INTEGER&#x27; parameter.
152 &quot;minValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Minimum value of the parameter.
153 &quot;maxValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Maximum value of the parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700154 },
155 &quot;categoricalValueSpec&quot;: { # The value spec for a &#x27;CATEGORICAL&#x27; parameter.
156 &quot;values&quot;: [ # Must be specified if type is `CATEGORICAL`.
157 # The list of possible categories.
158 &quot;A String&quot;,
159 ],
160 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700161 &quot;parentIntValues&quot;: { # Represents the spec to match integer values from parent parameter.
162 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;INTEGER&#x27;.
163 # All values must lie in `integer_value_spec` of parent parameter.
164 &quot;A String&quot;,
165 ],
166 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700167 &quot;parameter&quot;: &quot;A String&quot;, # Required. The parameter name must be unique amongst all ParameterSpecs.
168 &quot;childParameterSpecs&quot;: [ # A child node is active if the parameter&#x27;s value matches the child node&#x27;s
169 # matching_parent_values.
170 #
171 # If two items in child_parameter_specs have the same name, they must have
172 # disjoint matching_parent_values.
173 # Object with schema name: GoogleCloudMlV1_StudyConfig_ParameterSpec
174 ],
175 &quot;discreteValueSpec&quot;: { # The value spec for a &#x27;DISCRETE&#x27; parameter.
176 &quot;values&quot;: [ # Must be specified if type is `DISCRETE`.
177 # A list of feasible points.
178 # The list should be in strictly increasing order. For instance, this
179 # parameter might have possible settings of 1.5, 2.5, and 4.0. This list
180 # should not contain more than 1,000 values.
181 3.14,
182 ],
183 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700184 &quot;parentCategoricalValues&quot;: { # Represents the spec to match categorical values from parent parameter.
185 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;CATEGORICAL&#x27;.
186 # All values must exist in `categorical_value_spec` of parent parameter.
187 &quot;A String&quot;,
188 ],
189 },
190 &quot;scaleType&quot;: &quot;A String&quot;, # How the parameter should be scaled.
191 # Leave unset for categorical parameters.
Bu Sun Kim65020912020-05-20 12:08:20 -0700192 },
193 ],
194 },
195}
196
197 studyId: string, Required. The ID to use for the study, which will become the final component of
198the study&#x27;s resource name.
199 x__xgafv: string, V1 error format.
200 Allowed values
201 1 - v1 error format
202 2 - v2 error format
203
204Returns:
205 An object of the form:
206
207 { # A message representing a Study.
208 &quot;inactiveReason&quot;: &quot;A String&quot;, # Output only. A human readable reason why the Study is inactive.
209 # This should be empty if a study is ACTIVE or COMPLETED.
210 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the study was created.
211 &quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of a study.
212 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of a study.
213 &quot;studyConfig&quot;: { # Represents configuration of a study. # Required. Configuration of the study.
214 &quot;automatedStoppingConfig&quot;: { # Configuration for Automated Early Stopping of Trials. If no # Configuration for automated stopping of unpromising Trials.
215 # implementation_config is set, automated early stopping will not be run.
216 &quot;medianAutomatedStoppingConfig&quot;: { # The median automated stopping rule stops a pending trial if the trial&#x27;s
217 # best objective_value is strictly below the median &#x27;performance&#x27; of all
218 # completed trials reported up to the trial&#x27;s last measurement.
219 # Currently, &#x27;performance&#x27; refers to the running average of the objective
220 # values reported by the trial in each measurement.
221 &quot;useElapsedTime&quot;: True or False, # If true, the median automated stopping rule applies to
222 # measurement.use_elapsed_time, which means the elapsed_time field of
223 # the current trial&#x27;s
224 # latest measurement is used to compute the median objective
225 # value for each completed trial.
226 },
227 &quot;decayCurveStoppingConfig&quot;: {
228 &quot;useElapsedTime&quot;: True or False, # If true, measurement.elapsed_time is used as the x-axis of each
229 # Trials Decay Curve. Otherwise, Measurement.steps will be used as the
230 # x-axis.
231 },
232 },
233 &quot;metrics&quot;: [ # Metric specs for the study.
234 { # Represents a metric to optimize.
235 &quot;goal&quot;: &quot;A String&quot;, # Required. The optimization goal of the metric.
236 &quot;metric&quot;: &quot;A String&quot;, # Required. The name of the metric.
237 },
238 ],
239 &quot;algorithm&quot;: &quot;A String&quot;, # The search algorithm specified for the study.
240 &quot;parameters&quot;: [ # Required. The set of parameters to tune.
241 { # Represents a single parameter to optimize.
Bu Sun Kim65020912020-05-20 12:08:20 -0700242 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700243 &quot;parentDiscreteValues&quot;: { # Represents the spec to match discrete values from parent parameter.
244 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;DISCRETE&#x27;.
245 # All values must exist in `discrete_value_spec` of parent parameter.
246 3.14,
247 ],
248 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700249 &quot;doubleValueSpec&quot;: { # The value spec for a &#x27;DOUBLE&#x27; parameter.
250 &quot;maxValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Maximum value of the parameter.
251 &quot;minValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Minimum value of the parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700252 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700253 &quot;integerValueSpec&quot;: { # The value spec for an &#x27;INTEGER&#x27; parameter.
254 &quot;minValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Minimum value of the parameter.
255 &quot;maxValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Maximum value of the parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700256 },
257 &quot;categoricalValueSpec&quot;: { # The value spec for a &#x27;CATEGORICAL&#x27; parameter.
258 &quot;values&quot;: [ # Must be specified if type is `CATEGORICAL`.
259 # The list of possible categories.
260 &quot;A String&quot;,
261 ],
262 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700263 &quot;parentIntValues&quot;: { # Represents the spec to match integer values from parent parameter.
264 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;INTEGER&#x27;.
265 # All values must lie in `integer_value_spec` of parent parameter.
266 &quot;A String&quot;,
267 ],
268 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700269 &quot;parameter&quot;: &quot;A String&quot;, # Required. The parameter name must be unique amongst all ParameterSpecs.
270 &quot;childParameterSpecs&quot;: [ # A child node is active if the parameter&#x27;s value matches the child node&#x27;s
271 # matching_parent_values.
272 #
273 # If two items in child_parameter_specs have the same name, they must have
274 # disjoint matching_parent_values.
275 # Object with schema name: GoogleCloudMlV1_StudyConfig_ParameterSpec
276 ],
277 &quot;discreteValueSpec&quot;: { # The value spec for a &#x27;DISCRETE&#x27; parameter.
278 &quot;values&quot;: [ # Must be specified if type is `DISCRETE`.
279 # A list of feasible points.
280 # The list should be in strictly increasing order. For instance, this
281 # parameter might have possible settings of 1.5, 2.5, and 4.0. This list
282 # should not contain more than 1,000 values.
283 3.14,
284 ],
285 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700286 &quot;parentCategoricalValues&quot;: { # Represents the spec to match categorical values from parent parameter.
287 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;CATEGORICAL&#x27;.
288 # All values must exist in `categorical_value_spec` of parent parameter.
289 &quot;A String&quot;,
290 ],
291 },
292 &quot;scaleType&quot;: &quot;A String&quot;, # How the parameter should be scaled.
293 # Leave unset for categorical parameters.
Bu Sun Kim65020912020-05-20 12:08:20 -0700294 },
295 ],
296 },
297 }</pre>
298</div>
299
300<div class="method">
301 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
302 <pre>Deletes a study.
303
304Args:
305 name: string, Required. The study name. (required)
306 x__xgafv: string, V1 error format.
307 Allowed values
308 1 - v1 error format
309 2 - v2 error format
310
311Returns:
312 An object of the form:
313
314 { # A generic empty message that you can re-use to avoid defining duplicated
315 # empty messages in your APIs. A typical example is to use it as the request
316 # or the response type of an API method. For instance:
317 #
318 # service Foo {
319 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
320 # }
321 #
322 # The JSON representation for `Empty` is empty JSON object `{}`.
323 }</pre>
324</div>
325
326<div class="method">
327 <code class="details" id="get">get(name, x__xgafv=None)</code>
328 <pre>Gets a study.
329
330Args:
331 name: string, Required. The study name. (required)
332 x__xgafv: string, V1 error format.
333 Allowed values
334 1 - v1 error format
335 2 - v2 error format
336
337Returns:
338 An object of the form:
339
340 { # A message representing a Study.
341 &quot;inactiveReason&quot;: &quot;A String&quot;, # Output only. A human readable reason why the Study is inactive.
342 # This should be empty if a study is ACTIVE or COMPLETED.
343 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the study was created.
344 &quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of a study.
345 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of a study.
346 &quot;studyConfig&quot;: { # Represents configuration of a study. # Required. Configuration of the study.
347 &quot;automatedStoppingConfig&quot;: { # Configuration for Automated Early Stopping of Trials. If no # Configuration for automated stopping of unpromising Trials.
348 # implementation_config is set, automated early stopping will not be run.
349 &quot;medianAutomatedStoppingConfig&quot;: { # The median automated stopping rule stops a pending trial if the trial&#x27;s
350 # best objective_value is strictly below the median &#x27;performance&#x27; of all
351 # completed trials reported up to the trial&#x27;s last measurement.
352 # Currently, &#x27;performance&#x27; refers to the running average of the objective
353 # values reported by the trial in each measurement.
354 &quot;useElapsedTime&quot;: True or False, # If true, the median automated stopping rule applies to
355 # measurement.use_elapsed_time, which means the elapsed_time field of
356 # the current trial&#x27;s
357 # latest measurement is used to compute the median objective
358 # value for each completed trial.
359 },
360 &quot;decayCurveStoppingConfig&quot;: {
361 &quot;useElapsedTime&quot;: True or False, # If true, measurement.elapsed_time is used as the x-axis of each
362 # Trials Decay Curve. Otherwise, Measurement.steps will be used as the
363 # x-axis.
364 },
365 },
366 &quot;metrics&quot;: [ # Metric specs for the study.
367 { # Represents a metric to optimize.
368 &quot;goal&quot;: &quot;A String&quot;, # Required. The optimization goal of the metric.
369 &quot;metric&quot;: &quot;A String&quot;, # Required. The name of the metric.
370 },
371 ],
372 &quot;algorithm&quot;: &quot;A String&quot;, # The search algorithm specified for the study.
373 &quot;parameters&quot;: [ # Required. The set of parameters to tune.
374 { # Represents a single parameter to optimize.
Bu Sun Kim65020912020-05-20 12:08:20 -0700375 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700376 &quot;parentDiscreteValues&quot;: { # Represents the spec to match discrete values from parent parameter.
377 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;DISCRETE&#x27;.
378 # All values must exist in `discrete_value_spec` of parent parameter.
379 3.14,
380 ],
381 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700382 &quot;doubleValueSpec&quot;: { # The value spec for a &#x27;DOUBLE&#x27; parameter.
383 &quot;maxValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Maximum value of the parameter.
384 &quot;minValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Minimum value of the parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700385 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700386 &quot;integerValueSpec&quot;: { # The value spec for an &#x27;INTEGER&#x27; parameter.
387 &quot;minValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Minimum value of the parameter.
388 &quot;maxValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Maximum value of the parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700389 },
390 &quot;categoricalValueSpec&quot;: { # The value spec for a &#x27;CATEGORICAL&#x27; parameter.
391 &quot;values&quot;: [ # Must be specified if type is `CATEGORICAL`.
392 # The list of possible categories.
393 &quot;A String&quot;,
394 ],
395 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700396 &quot;parentIntValues&quot;: { # Represents the spec to match integer values from parent parameter.
397 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;INTEGER&#x27;.
398 # All values must lie in `integer_value_spec` of parent parameter.
399 &quot;A String&quot;,
400 ],
401 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700402 &quot;parameter&quot;: &quot;A String&quot;, # Required. The parameter name must be unique amongst all ParameterSpecs.
403 &quot;childParameterSpecs&quot;: [ # A child node is active if the parameter&#x27;s value matches the child node&#x27;s
404 # matching_parent_values.
405 #
406 # If two items in child_parameter_specs have the same name, they must have
407 # disjoint matching_parent_values.
408 # Object with schema name: GoogleCloudMlV1_StudyConfig_ParameterSpec
409 ],
410 &quot;discreteValueSpec&quot;: { # The value spec for a &#x27;DISCRETE&#x27; parameter.
411 &quot;values&quot;: [ # Must be specified if type is `DISCRETE`.
412 # A list of feasible points.
413 # The list should be in strictly increasing order. For instance, this
414 # parameter might have possible settings of 1.5, 2.5, and 4.0. This list
415 # should not contain more than 1,000 values.
416 3.14,
417 ],
418 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700419 &quot;parentCategoricalValues&quot;: { # Represents the spec to match categorical values from parent parameter.
420 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;CATEGORICAL&#x27;.
421 # All values must exist in `categorical_value_spec` of parent parameter.
422 &quot;A String&quot;,
423 ],
424 },
425 &quot;scaleType&quot;: &quot;A String&quot;, # How the parameter should be scaled.
426 # Leave unset for categorical parameters.
Bu Sun Kim65020912020-05-20 12:08:20 -0700427 },
428 ],
429 },
430 }</pre>
431</div>
432
433<div class="method">
434 <code class="details" id="list">list(parent, x__xgafv=None)</code>
435 <pre>Lists all the studies in a region for an associated project.
436
437Args:
438 parent: string, Required. The project and location that the study belongs to.
439Format: projects/{project}/locations/{location} (required)
440 x__xgafv: string, V1 error format.
441 Allowed values
442 1 - v1 error format
443 2 - v2 error format
444
445Returns:
446 An object of the form:
447
448 {
449 &quot;studies&quot;: [ # The studies associated with the project.
450 { # A message representing a Study.
451 &quot;inactiveReason&quot;: &quot;A String&quot;, # Output only. A human readable reason why the Study is inactive.
452 # This should be empty if a study is ACTIVE or COMPLETED.
453 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the study was created.
454 &quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of a study.
455 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of a study.
456 &quot;studyConfig&quot;: { # Represents configuration of a study. # Required. Configuration of the study.
457 &quot;automatedStoppingConfig&quot;: { # Configuration for Automated Early Stopping of Trials. If no # Configuration for automated stopping of unpromising Trials.
458 # implementation_config is set, automated early stopping will not be run.
459 &quot;medianAutomatedStoppingConfig&quot;: { # The median automated stopping rule stops a pending trial if the trial&#x27;s
460 # best objective_value is strictly below the median &#x27;performance&#x27; of all
461 # completed trials reported up to the trial&#x27;s last measurement.
462 # Currently, &#x27;performance&#x27; refers to the running average of the objective
463 # values reported by the trial in each measurement.
464 &quot;useElapsedTime&quot;: True or False, # If true, the median automated stopping rule applies to
465 # measurement.use_elapsed_time, which means the elapsed_time field of
466 # the current trial&#x27;s
467 # latest measurement is used to compute the median objective
468 # value for each completed trial.
469 },
470 &quot;decayCurveStoppingConfig&quot;: {
471 &quot;useElapsedTime&quot;: True or False, # If true, measurement.elapsed_time is used as the x-axis of each
472 # Trials Decay Curve. Otherwise, Measurement.steps will be used as the
473 # x-axis.
474 },
475 },
476 &quot;metrics&quot;: [ # Metric specs for the study.
477 { # Represents a metric to optimize.
478 &quot;goal&quot;: &quot;A String&quot;, # Required. The optimization goal of the metric.
479 &quot;metric&quot;: &quot;A String&quot;, # Required. The name of the metric.
480 },
481 ],
482 &quot;algorithm&quot;: &quot;A String&quot;, # The search algorithm specified for the study.
483 &quot;parameters&quot;: [ # Required. The set of parameters to tune.
484 { # Represents a single parameter to optimize.
Bu Sun Kim65020912020-05-20 12:08:20 -0700485 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700486 &quot;parentDiscreteValues&quot;: { # Represents the spec to match discrete values from parent parameter.
487 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;DISCRETE&#x27;.
488 # All values must exist in `discrete_value_spec` of parent parameter.
489 3.14,
490 ],
491 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700492 &quot;doubleValueSpec&quot;: { # The value spec for a &#x27;DOUBLE&#x27; parameter.
493 &quot;maxValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Maximum value of the parameter.
494 &quot;minValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Minimum value of the parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700495 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700496 &quot;integerValueSpec&quot;: { # The value spec for an &#x27;INTEGER&#x27; parameter.
497 &quot;minValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Minimum value of the parameter.
498 &quot;maxValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Maximum value of the parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700499 },
500 &quot;categoricalValueSpec&quot;: { # The value spec for a &#x27;CATEGORICAL&#x27; parameter.
501 &quot;values&quot;: [ # Must be specified if type is `CATEGORICAL`.
502 # The list of possible categories.
503 &quot;A String&quot;,
504 ],
505 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700506 &quot;parentIntValues&quot;: { # Represents the spec to match integer values from parent parameter.
507 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;INTEGER&#x27;.
508 # All values must lie in `integer_value_spec` of parent parameter.
509 &quot;A String&quot;,
510 ],
511 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700512 &quot;parameter&quot;: &quot;A String&quot;, # Required. The parameter name must be unique amongst all ParameterSpecs.
513 &quot;childParameterSpecs&quot;: [ # A child node is active if the parameter&#x27;s value matches the child node&#x27;s
514 # matching_parent_values.
515 #
516 # If two items in child_parameter_specs have the same name, they must have
517 # disjoint matching_parent_values.
518 # Object with schema name: GoogleCloudMlV1_StudyConfig_ParameterSpec
519 ],
520 &quot;discreteValueSpec&quot;: { # The value spec for a &#x27;DISCRETE&#x27; parameter.
521 &quot;values&quot;: [ # Must be specified if type is `DISCRETE`.
522 # A list of feasible points.
523 # The list should be in strictly increasing order. For instance, this
524 # parameter might have possible settings of 1.5, 2.5, and 4.0. This list
525 # should not contain more than 1,000 values.
526 3.14,
527 ],
528 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700529 &quot;parentCategoricalValues&quot;: { # Represents the spec to match categorical values from parent parameter.
530 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;CATEGORICAL&#x27;.
531 # All values must exist in `categorical_value_spec` of parent parameter.
532 &quot;A String&quot;,
533 ],
534 },
535 &quot;scaleType&quot;: &quot;A String&quot;, # How the parameter should be scaled.
536 # Leave unset for categorical parameters.
Bu Sun Kim65020912020-05-20 12:08:20 -0700537 },
538 ],
539 },
540 },
541 ],
542 }</pre>
543</div>
544
545</body></html>