blob: 16d01ca848f4ddadf6ba34d3654f8127082c529b [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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070083 <code><a href="#close">close()</a></code></p>
84<p class="firstline">Close httplib2 connections.</p>
85<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070086 <code><a href="#create">create(parent, body=None, studyId=None, x__xgafv=None)</a></code></p>
87<p class="firstline">Creates a study.</p>
88<p class="toc_element">
89 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90<p class="firstline">Deletes a study.</p>
91<p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93<p class="firstline">Gets a study.</p>
94<p class="toc_element">
95 <code><a href="#list">list(parent, x__xgafv=None)</a></code></p>
96<p class="firstline">Lists all the studies in a region for an associated project.</p>
97<h3>Method Details</h3>
98<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070099 <code class="details" id="close">close()</code>
100 <pre>Close httplib2 connections.</pre>
101</div>
102
103<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700104 <code class="details" id="create">create(parent, body=None, studyId=None, x__xgafv=None)</code>
105 <pre>Creates a study.
106
107Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700108 parent: string, Required. The project and location that the study belongs to. Format: projects/{project}/locations/{location} (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700109 body: object, The request body.
110 The object takes the form of:
111
112{ # A message representing a Study.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800113 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the study was created.
114 &quot;inactiveReason&quot;: &quot;A String&quot;, # Output only. A human readable reason why the Study is inactive. This should be empty if a study is ACTIVE or COMPLETED.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800115 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of a study.
116 &quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of a study.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800117 &quot;studyConfig&quot;: { # Represents configuration of a study. # Required. Configuration of the study.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800118 &quot;algorithm&quot;: &quot;A String&quot;, # The search algorithm specified for the study.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800119 &quot;automatedStoppingConfig&quot;: { # Configuration for Automated Early Stopping of Trials. If no implementation_config is set, automated early stopping will not be run. # Configuration for automated stopping of unpromising Trials.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800120 &quot;decayCurveStoppingConfig&quot;: {
121 &quot;useElapsedTime&quot;: True or False, # If true, measurement.elapsed_time is used as the x-axis of each Trials Decay Curve. Otherwise, Measurement.steps will be used as the x-axis.
122 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800123 &quot;medianAutomatedStoppingConfig&quot;: { # The median automated stopping rule stops a pending trial if the trial&#x27;s best objective_value is strictly below the median &#x27;performance&#x27; of all completed trials reported up to the trial&#x27;s last measurement. Currently, &#x27;performance&#x27; refers to the running average of the objective values reported by the trial in each measurement.
124 &quot;useElapsedTime&quot;: True or False, # If true, the median automated stopping rule applies to measurement.use_elapsed_time, which means the elapsed_time field of the current trial&#x27;s latest measurement is used to compute the median objective value for each completed trial.
125 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800126 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800127 &quot;metrics&quot;: [ # Metric specs for the study.
128 { # Represents a metric to optimize.
129 &quot;goal&quot;: &quot;A String&quot;, # Required. The optimization goal of the metric.
130 &quot;metric&quot;: &quot;A String&quot;, # Required. The name of the metric.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800131 },
132 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800133 &quot;parameters&quot;: [ # Required. The set of parameters to tune.
134 { # Represents a single parameter to optimize.
135 &quot;categoricalValueSpec&quot;: { # The value spec for a &#x27;CATEGORICAL&#x27; parameter.
136 &quot;values&quot;: [ # Must be specified if type is `CATEGORICAL`. The list of possible categories.
137 &quot;A String&quot;,
138 ],
139 },
140 &quot;childParameterSpecs&quot;: [ # A child node is active if the parameter&#x27;s value matches the child node&#x27;s matching_parent_values. If two items in child_parameter_specs have the same name, they must have disjoint matching_parent_values.
141 # Object with schema name: GoogleCloudMlV1_StudyConfig_ParameterSpec
142 ],
143 &quot;discreteValueSpec&quot;: { # The value spec for a &#x27;DISCRETE&#x27; parameter.
144 &quot;values&quot;: [ # Must be specified if type is `DISCRETE`. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values.
145 3.14,
146 ],
147 },
148 &quot;doubleValueSpec&quot;: { # The value spec for a &#x27;DOUBLE&#x27; parameter.
149 &quot;maxValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Maximum value of the parameter.
150 &quot;minValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Minimum value of the parameter.
151 },
152 &quot;integerValueSpec&quot;: { # The value spec for an &#x27;INTEGER&#x27; parameter.
153 &quot;maxValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Maximum value of the parameter.
154 &quot;minValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Minimum value of the parameter.
155 },
156 &quot;parameter&quot;: &quot;A String&quot;, # Required. The parameter name must be unique amongst all ParameterSpecs.
157 &quot;parentCategoricalValues&quot;: { # Represents the spec to match categorical values from parent parameter.
158 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;CATEGORICAL&#x27;. All values must exist in `categorical_value_spec` of parent parameter.
159 &quot;A String&quot;,
160 ],
161 },
162 &quot;parentDiscreteValues&quot;: { # Represents the spec to match discrete values from parent parameter.
163 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;DISCRETE&#x27;. All values must exist in `discrete_value_spec` of parent parameter.
164 3.14,
165 ],
166 },
167 &quot;parentIntValues&quot;: { # Represents the spec to match integer values from parent parameter.
168 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;INTEGER&#x27;. All values must lie in `integer_value_spec` of parent parameter.
169 &quot;A String&quot;,
170 ],
171 },
172 &quot;scaleType&quot;: &quot;A String&quot;, # How the parameter should be scaled. Leave unset for categorical parameters.
173 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the parameter.
174 },
175 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800176 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800177}
178
179 studyId: string, Required. The ID to use for the study, which will become the final component of the study&#x27;s resource name.
180 x__xgafv: string, V1 error format.
181 Allowed values
182 1 - v1 error format
183 2 - v2 error format
184
185Returns:
186 An object of the form:
187
188 { # A message representing a Study.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800189 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the study was created.
190 &quot;inactiveReason&quot;: &quot;A String&quot;, # Output only. A human readable reason why the Study is inactive. This should be empty if a study is ACTIVE or COMPLETED.
191 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of a study.
192 &quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of a study.
193 &quot;studyConfig&quot;: { # Represents configuration of a study. # Required. Configuration of the study.
194 &quot;algorithm&quot;: &quot;A String&quot;, # The search algorithm specified for the study.
195 &quot;automatedStoppingConfig&quot;: { # Configuration for Automated Early Stopping of Trials. If no implementation_config is set, automated early stopping will not be run. # Configuration for automated stopping of unpromising Trials.
196 &quot;decayCurveStoppingConfig&quot;: {
197 &quot;useElapsedTime&quot;: True or False, # If true, measurement.elapsed_time is used as the x-axis of each Trials Decay Curve. Otherwise, Measurement.steps will be used as the x-axis.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800198 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800199 &quot;medianAutomatedStoppingConfig&quot;: { # The median automated stopping rule stops a pending trial if the trial&#x27;s best objective_value is strictly below the median &#x27;performance&#x27; of all completed trials reported up to the trial&#x27;s last measurement. Currently, &#x27;performance&#x27; refers to the running average of the objective values reported by the trial in each measurement.
200 &quot;useElapsedTime&quot;: True or False, # If true, the median automated stopping rule applies to measurement.use_elapsed_time, which means the elapsed_time field of the current trial&#x27;s latest measurement is used to compute the median objective value for each completed trial.
201 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700202 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800203 &quot;metrics&quot;: [ # Metric specs for the study.
204 { # Represents a metric to optimize.
205 &quot;goal&quot;: &quot;A String&quot;, # Required. The optimization goal of the metric.
206 &quot;metric&quot;: &quot;A String&quot;, # Required. The name of the metric.
207 },
208 ],
209 &quot;parameters&quot;: [ # Required. The set of parameters to tune.
210 { # Represents a single parameter to optimize.
211 &quot;categoricalValueSpec&quot;: { # The value spec for a &#x27;CATEGORICAL&#x27; parameter.
212 &quot;values&quot;: [ # Must be specified if type is `CATEGORICAL`. The list of possible categories.
213 &quot;A String&quot;,
214 ],
215 },
216 &quot;childParameterSpecs&quot;: [ # A child node is active if the parameter&#x27;s value matches the child node&#x27;s matching_parent_values. If two items in child_parameter_specs have the same name, they must have disjoint matching_parent_values.
217 # Object with schema name: GoogleCloudMlV1_StudyConfig_ParameterSpec
218 ],
219 &quot;discreteValueSpec&quot;: { # The value spec for a &#x27;DISCRETE&#x27; parameter.
220 &quot;values&quot;: [ # Must be specified if type is `DISCRETE`. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values.
221 3.14,
222 ],
223 },
224 &quot;doubleValueSpec&quot;: { # The value spec for a &#x27;DOUBLE&#x27; parameter.
225 &quot;maxValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Maximum value of the parameter.
226 &quot;minValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Minimum value of the parameter.
227 },
228 &quot;integerValueSpec&quot;: { # The value spec for an &#x27;INTEGER&#x27; parameter.
229 &quot;maxValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Maximum value of the parameter.
230 &quot;minValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Minimum value of the parameter.
231 },
232 &quot;parameter&quot;: &quot;A String&quot;, # Required. The parameter name must be unique amongst all ParameterSpecs.
233 &quot;parentCategoricalValues&quot;: { # Represents the spec to match categorical values from parent parameter.
234 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;CATEGORICAL&#x27;. All values must exist in `categorical_value_spec` of parent parameter.
235 &quot;A String&quot;,
236 ],
237 },
238 &quot;parentDiscreteValues&quot;: { # Represents the spec to match discrete values from parent parameter.
239 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;DISCRETE&#x27;. All values must exist in `discrete_value_spec` of parent parameter.
240 3.14,
241 ],
242 },
243 &quot;parentIntValues&quot;: { # Represents the spec to match integer values from parent parameter.
244 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;INTEGER&#x27;. All values must lie in `integer_value_spec` of parent parameter.
245 &quot;A String&quot;,
246 ],
247 },
248 &quot;scaleType&quot;: &quot;A String&quot;, # How the parameter should be scaled. Leave unset for categorical parameters.
249 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the parameter.
250 },
251 ],
252 },
253}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700254</div>
255
256<div class="method">
257 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
258 <pre>Deletes a study.
259
260Args:
261 name: string, Required. The study name. (required)
262 x__xgafv: string, V1 error format.
263 Allowed values
264 1 - v1 error format
265 2 - v2 error format
266
267Returns:
268 An object of the form:
269
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700270 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800271}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700272</div>
273
274<div class="method">
275 <code class="details" id="get">get(name, x__xgafv=None)</code>
276 <pre>Gets a study.
277
278Args:
279 name: string, Required. The study name. (required)
280 x__xgafv: string, V1 error format.
281 Allowed values
282 1 - v1 error format
283 2 - v2 error format
284
285Returns:
286 An object of the form:
287
288 { # A message representing a Study.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800289 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the study was created.
290 &quot;inactiveReason&quot;: &quot;A String&quot;, # Output only. A human readable reason why the Study is inactive. This should be empty if a study is ACTIVE or COMPLETED.
291 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of a study.
292 &quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of a study.
293 &quot;studyConfig&quot;: { # Represents configuration of a study. # Required. Configuration of the study.
294 &quot;algorithm&quot;: &quot;A String&quot;, # The search algorithm specified for the study.
295 &quot;automatedStoppingConfig&quot;: { # Configuration for Automated Early Stopping of Trials. If no implementation_config is set, automated early stopping will not be run. # Configuration for automated stopping of unpromising Trials.
296 &quot;decayCurveStoppingConfig&quot;: {
297 &quot;useElapsedTime&quot;: True or False, # If true, measurement.elapsed_time is used as the x-axis of each Trials Decay Curve. Otherwise, Measurement.steps will be used as the x-axis.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800298 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800299 &quot;medianAutomatedStoppingConfig&quot;: { # The median automated stopping rule stops a pending trial if the trial&#x27;s best objective_value is strictly below the median &#x27;performance&#x27; of all completed trials reported up to the trial&#x27;s last measurement. Currently, &#x27;performance&#x27; refers to the running average of the objective values reported by the trial in each measurement.
300 &quot;useElapsedTime&quot;: True or False, # If true, the median automated stopping rule applies to measurement.use_elapsed_time, which means the elapsed_time field of the current trial&#x27;s latest measurement is used to compute the median objective value for each completed trial.
301 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800302 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800303 &quot;metrics&quot;: [ # Metric specs for the study.
304 { # Represents a metric to optimize.
305 &quot;goal&quot;: &quot;A String&quot;, # Required. The optimization goal of the metric.
306 &quot;metric&quot;: &quot;A String&quot;, # Required. The name of the metric.
307 },
308 ],
309 &quot;parameters&quot;: [ # Required. The set of parameters to tune.
310 { # Represents a single parameter to optimize.
311 &quot;categoricalValueSpec&quot;: { # The value spec for a &#x27;CATEGORICAL&#x27; parameter.
312 &quot;values&quot;: [ # Must be specified if type is `CATEGORICAL`. The list of possible categories.
313 &quot;A String&quot;,
314 ],
315 },
316 &quot;childParameterSpecs&quot;: [ # A child node is active if the parameter&#x27;s value matches the child node&#x27;s matching_parent_values. If two items in child_parameter_specs have the same name, they must have disjoint matching_parent_values.
317 # Object with schema name: GoogleCloudMlV1_StudyConfig_ParameterSpec
318 ],
319 &quot;discreteValueSpec&quot;: { # The value spec for a &#x27;DISCRETE&#x27; parameter.
320 &quot;values&quot;: [ # Must be specified if type is `DISCRETE`. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values.
321 3.14,
322 ],
323 },
324 &quot;doubleValueSpec&quot;: { # The value spec for a &#x27;DOUBLE&#x27; parameter.
325 &quot;maxValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Maximum value of the parameter.
326 &quot;minValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Minimum value of the parameter.
327 },
328 &quot;integerValueSpec&quot;: { # The value spec for an &#x27;INTEGER&#x27; parameter.
329 &quot;maxValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Maximum value of the parameter.
330 &quot;minValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Minimum value of the parameter.
331 },
332 &quot;parameter&quot;: &quot;A String&quot;, # Required. The parameter name must be unique amongst all ParameterSpecs.
333 &quot;parentCategoricalValues&quot;: { # Represents the spec to match categorical values from parent parameter.
334 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;CATEGORICAL&#x27;. All values must exist in `categorical_value_spec` of parent parameter.
335 &quot;A String&quot;,
336 ],
337 },
338 &quot;parentDiscreteValues&quot;: { # Represents the spec to match discrete values from parent parameter.
339 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;DISCRETE&#x27;. All values must exist in `discrete_value_spec` of parent parameter.
340 3.14,
341 ],
342 },
343 &quot;parentIntValues&quot;: { # Represents the spec to match integer values from parent parameter.
344 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;INTEGER&#x27;. All values must lie in `integer_value_spec` of parent parameter.
345 &quot;A String&quot;,
346 ],
347 },
348 &quot;scaleType&quot;: &quot;A String&quot;, # How the parameter should be scaled. Leave unset for categorical parameters.
349 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the parameter.
350 },
351 ],
352 },
353}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700354</div>
355
356<div class="method">
357 <code class="details" id="list">list(parent, x__xgafv=None)</code>
358 <pre>Lists all the studies in a region for an associated project.
359
360Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700361 parent: string, Required. The project and location that the study belongs to. Format: projects/{project}/locations/{location} (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700362 x__xgafv: string, V1 error format.
363 Allowed values
364 1 - v1 error format
365 2 - v2 error format
366
367Returns:
368 An object of the form:
369
370 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800371 &quot;studies&quot;: [ # The studies associated with the project.
372 { # A message representing a Study.
373 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the study was created.
374 &quot;inactiveReason&quot;: &quot;A String&quot;, # Output only. A human readable reason why the Study is inactive. This should be empty if a study is ACTIVE or COMPLETED.
375 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of a study.
376 &quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of a study.
377 &quot;studyConfig&quot;: { # Represents configuration of a study. # Required. Configuration of the study.
378 &quot;algorithm&quot;: &quot;A String&quot;, # The search algorithm specified for the study.
379 &quot;automatedStoppingConfig&quot;: { # Configuration for Automated Early Stopping of Trials. If no implementation_config is set, automated early stopping will not be run. # Configuration for automated stopping of unpromising Trials.
380 &quot;decayCurveStoppingConfig&quot;: {
381 &quot;useElapsedTime&quot;: True or False, # If true, measurement.elapsed_time is used as the x-axis of each Trials Decay Curve. Otherwise, Measurement.steps will be used as the x-axis.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800382 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800383 &quot;medianAutomatedStoppingConfig&quot;: { # The median automated stopping rule stops a pending trial if the trial&#x27;s best objective_value is strictly below the median &#x27;performance&#x27; of all completed trials reported up to the trial&#x27;s last measurement. Currently, &#x27;performance&#x27; refers to the running average of the objective values reported by the trial in each measurement.
384 &quot;useElapsedTime&quot;: True or False, # If true, the median automated stopping rule applies to measurement.use_elapsed_time, which means the elapsed_time field of the current trial&#x27;s latest measurement is used to compute the median objective value for each completed trial.
385 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700386 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800387 &quot;metrics&quot;: [ # Metric specs for the study.
388 { # Represents a metric to optimize.
389 &quot;goal&quot;: &quot;A String&quot;, # Required. The optimization goal of the metric.
390 &quot;metric&quot;: &quot;A String&quot;, # Required. The name of the metric.
391 },
392 ],
393 &quot;parameters&quot;: [ # Required. The set of parameters to tune.
394 { # Represents a single parameter to optimize.
395 &quot;categoricalValueSpec&quot;: { # The value spec for a &#x27;CATEGORICAL&#x27; parameter.
396 &quot;values&quot;: [ # Must be specified if type is `CATEGORICAL`. The list of possible categories.
397 &quot;A String&quot;,
398 ],
399 },
400 &quot;childParameterSpecs&quot;: [ # A child node is active if the parameter&#x27;s value matches the child node&#x27;s matching_parent_values. If two items in child_parameter_specs have the same name, they must have disjoint matching_parent_values.
401 # Object with schema name: GoogleCloudMlV1_StudyConfig_ParameterSpec
402 ],
403 &quot;discreteValueSpec&quot;: { # The value spec for a &#x27;DISCRETE&#x27; parameter.
404 &quot;values&quot;: [ # Must be specified if type is `DISCRETE`. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values.
405 3.14,
406 ],
407 },
408 &quot;doubleValueSpec&quot;: { # The value spec for a &#x27;DOUBLE&#x27; parameter.
409 &quot;maxValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Maximum value of the parameter.
410 &quot;minValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Minimum value of the parameter.
411 },
412 &quot;integerValueSpec&quot;: { # The value spec for an &#x27;INTEGER&#x27; parameter.
413 &quot;maxValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Maximum value of the parameter.
414 &quot;minValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Minimum value of the parameter.
415 },
416 &quot;parameter&quot;: &quot;A String&quot;, # Required. The parameter name must be unique amongst all ParameterSpecs.
417 &quot;parentCategoricalValues&quot;: { # Represents the spec to match categorical values from parent parameter.
418 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;CATEGORICAL&#x27;. All values must exist in `categorical_value_spec` of parent parameter.
419 &quot;A String&quot;,
420 ],
421 },
422 &quot;parentDiscreteValues&quot;: { # Represents the spec to match discrete values from parent parameter.
423 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;DISCRETE&#x27;. All values must exist in `discrete_value_spec` of parent parameter.
424 3.14,
425 ],
426 },
427 &quot;parentIntValues&quot;: { # Represents the spec to match integer values from parent parameter.
428 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;INTEGER&#x27;. All values must lie in `integer_value_spec` of parent parameter.
429 &quot;A String&quot;,
430 ],
431 },
432 &quot;scaleType&quot;: &quot;A String&quot;, # How the parameter should be scaled. Leave unset for categorical parameters.
433 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the parameter.
434 },
435 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800436 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800437 },
438 ],
439}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700440</div>
441
442</body></html>