Skip to content

Commit a00fdf9

Browse files
author
awstools
committed
feat(client-sagemaker): Amazon SageMaker Automatic Model Tuning now supports specifying Grid Search strategy for tuning jobs, which evaluates all hyperparameter combinations exhaustively based on the categorical hyperparameters provided.
1 parent 5458d9b commit a00fdf9

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

clients/client-sagemaker/src/models/models_1.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ export interface ResourceLimits {
11591159
* number of training jobs that a hyperparameter tuning job can
11601160
* launch.</p>
11611161
*/
1162-
MaxNumberOfTrainingJobs: number | undefined;
1162+
MaxNumberOfTrainingJobs?: number;
11631163

11641164
/**
11651165
* <p>The
@@ -1172,6 +1172,7 @@ export interface ResourceLimits {
11721172

11731173
export enum HyperParameterTuningJobStrategyType {
11741174
BAYESIAN = "Bayesian",
1175+
GRID = "Grid",
11751176
HYPERBAND = "Hyperband",
11761177
RANDOM = "Random",
11771178
}

codegen/sdk-codegen/aws-models/sagemaker.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22422,6 +22422,12 @@
2242222422
"traits": {
2242322423
"smithy.api#enumValue": "Hyperband"
2242422424
}
22425+
},
22426+
"GRID": {
22427+
"target": "smithy.api#Unit",
22428+
"traits": {
22429+
"smithy.api#enumValue": "Grid"
22430+
}
2242522431
}
2242622432
},
2242722433
"traits": {
@@ -30592,7 +30598,6 @@
3059230598
"com.amazonaws.sagemaker#MaxNumberOfTrainingJobs": {
3059330599
"type": "integer",
3059430600
"traits": {
30595-
"smithy.api#default": 0,
3059630601
"smithy.api#range": {
3059730602
"min": 1
3059830603
}
@@ -39570,9 +39575,7 @@
3957039575
"MaxNumberOfTrainingJobs": {
3957139576
"target": "com.amazonaws.sagemaker#MaxNumberOfTrainingJobs",
3957239577
"traits": {
39573-
"smithy.api#default": 0,
39574-
"smithy.api#documentation": "<p>The\n maximum\n number of training jobs that a hyperparameter tuning job can\n launch.</p>",
39575-
"smithy.api#required": {}
39578+
"smithy.api#documentation": "<p>The\n maximum\n number of training jobs that a hyperparameter tuning job can\n launch.</p>"
3957639579
}
3957739580
},
3957839581
"MaxParallelTrainingJobs": {

0 commit comments

Comments
 (0)