You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(client-sagemaker): Amazon SageMaker Automatic Model Tuning now supports specifying Hyperband strategy for tuning jobs, which uses a multi-fidelity based tuning strategy to stop underperforming hyperparameter configurations early.
* <p>The configuration for attaching a SageMaker user profile name to the execution role as a <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html">
7943
-
* <code>sts:SourceIdentity</code> key</a>.</p>
7941
+
* <p>The configuration for attaching a SageMaker user profile name to the execution role as a <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html">sts:SourceIdentity key</a>.</p>
* <p>The configuration for <code>Hyperband</code>, a multi-fidelity based hyperparameter
110
+
* tuning strategy. <code>Hyperband</code> uses the final and intermediate results of a
111
+
* training job to dynamically allocate resources to utilized hyperparameter configurations
112
+
* while automatically stopping under-performing configurations. This parameter should be
113
+
* provided only if <code>Hyperband</code> is selected as the <code>StrategyConfig</code>
114
+
* under the <code>HyperParameterTuningJobConfig</code> API.</p>
115
+
*/
116
+
exportinterfaceHyperbandStrategyConfig{
117
+
/**
118
+
* <p>The minimum number of resources (such as epochs) that can be used by a training job
119
+
* launched by a hyperparameter tuning job. If the value for <code>MinResource</code> has not
120
+
* been reached, the training job will not be stopped by <code>Hyperband</code>.</p>
121
+
*/
122
+
MinResource?: number;
123
+
124
+
/**
125
+
* <p>The maximum number of resources (such as epochs) that can be used by a training job
126
+
* launched by a hyperparameter tuning job. Once a job reaches the <code>MaxResource</code>
127
+
* value, it is stopped. If a value for <code>MaxResource</code> is not provided, and
128
+
* <code>Hyperband</code> is selected as the hyperparameter tuning strategy,
129
+
* <code>HyperbandTrainingJ</code> attempts to infer <code>MaxResource</code> from the
130
+
* following keys (if present) in <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTrainingJobDefinition.html#sagemaker-Type-HyperParameterTrainingJobDefinition-StaticHyperParameters">StaticsHyperParameters</a>:</p>
131
+
* <ul>
132
+
* <li>
133
+
* <p>
134
+
* <code>epochs</code>
135
+
* </p>
136
+
* </li>
137
+
* <li>
138
+
* <p>
139
+
* <code>numepochs</code>
140
+
* </p>
141
+
* </li>
142
+
* <li>
143
+
* <p>
144
+
* <code>n-epochs</code>
145
+
* </p>
146
+
* </li>
147
+
* <li>
148
+
* <p>
149
+
* <code>n_epochs</code>
150
+
* </p>
151
+
* </li>
152
+
* <li>
153
+
* <p>
154
+
* <code>num_epochs</code>
155
+
* </p>
156
+
* </li>
157
+
* </ul>
158
+
* <p>If <code>HyperbandStrategyConfig</code> is unable to infer a value for
159
+
* <code>MaxResource</code>, it generates a validation error. The maximum value is 20,000
160
+
* epochs. All metrics that correspond to an objective metric are used to derive <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-early-stopping.html">early stopping
161
+
* decisions</a>. For <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/distributed-training.html">distributive</a> training jobs,
162
+
* ensure that duplicate metrics are not printed in the logs across the individual nodes in a
163
+
* training job. If multiple nodes are publishing duplicate or incorrect metrics, training
164
+
* jobs may make an incorrect stopping decision and stop the job prematurely. </p>
165
+
*/
166
+
MaxResource?: number;
167
+
}
168
+
169
+
/**
170
+
* <p>The configuration for a training job launched by a hyperparameter tuning job. Choose
171
+
* <code>Bayesian</code> for Bayesian optimization, and <code>Random</code> for random
172
+
* search optimization. For more advanced use cases, use <code>Hyperband</code>, which
173
+
* evaluates objective metrics for training jobs after every epoch. For more information about
174
+
* strategies, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html">How Hyperparameter
* <p>Specifies whether to use early stopping for training jobs launched by the
161
-
* hyperparameter tuning job. This can be one of the following values (the default value is
162
-
* <code>OFF</code>):</p>
244
+
* hyperparameter tuning job. Because the <code>Hyperband</code> strategy has its own
245
+
* advanced internal early stopping mechanism,
246
+
* <code>TrainingJobEarlyStoppingType</code> must be <code>OFF</code> to use <code>Hyperband</code>. This parameter can take on one of the following values (the
* <p>A key-value pair that you specify to describe the feature.</p>
9205
+
* @internal
9121
9206
*/
9122
-
exportinterfaceFeatureParameter{
9123
-
/**
9124
-
* <p>A key that must contain a value to describe the feature.</p>
9125
-
*/
9126
-
Key?: string;
9127
-
9128
-
/**
9129
-
* <p>The value that belongs to a key.</p>
9130
-
*/
9131
-
Value?: string;
9132
-
}
9133
-
9134
-
exportinterfaceDescribeFeatureMetadataResponse{
9135
-
/**
9136
-
* <p>The Amazon Resource Number (ARN) of the feature group that contains the feature.</p>
9137
-
*/
9138
-
FeatureGroupArn: string|undefined;
9139
-
9140
-
/**
9141
-
* <p>The name of the feature group that you've specified.</p>
9142
-
*/
9143
-
FeatureGroupName: string|undefined;
9144
-
9145
-
/**
9146
-
* <p>The name of the feature that you've specified.</p>
9147
-
*/
9148
-
FeatureName: string|undefined;
9149
-
9150
-
/**
9151
-
* <p>The data type of the feature.</p>
9152
-
*/
9153
-
FeatureType: FeatureType|string|undefined;
9154
-
9155
-
/**
9156
-
* <p>A timestamp indicating when the feature was created.</p>
9157
-
*/
9158
-
CreationTime: Date|undefined;
9159
-
9160
-
/**
9161
-
* <p>A timestamp indicating when the metadata for the feature group was modified. For example, if you add a parameter describing the feature, the timestamp changes to reflect the last time you </p>
9162
-
*/
9163
-
LastModifiedTime: Date|undefined;
9164
-
9165
-
/**
9166
-
* <p>The description you added to describe the feature.</p>
0 commit comments