aws-sdk-sagemaker 1.164.0 → 1.165.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2bddb889de853dbfb3618f6625c40548f6eb4dbc611bf617305804d69228cd6b
4
- data.tar.gz: 27659e743febca9ae1cd3db7cc72292bdee4a925f01ac1a613f4de3eb1d7396a
3
+ metadata.gz: 4b70d40dafbd65952b023955c4073d7133301d2632716994ccac94b5c6774f57
4
+ data.tar.gz: c5a6a6bb92fb11d39a06022c95905587dab004239e8cdbec8e15bea88ff6d7ac
5
5
  SHA512:
6
- metadata.gz: e113ee2512a60a2ad7239dc8f9eb3b92dd2d31303be2ceb062fbca6ba9c7be9d44fc98334d8ad073b08b09a98240f33ebe19c5747d17f9c21574ae839830d073
7
- data.tar.gz: b95e8973128115123299dcd2b5e465a760ec8b1f2a050c99c6d0408f9f26193938b211bb57fd60920efd605eaa2f8ea439c5dadfb407b285a92ad94423e0d8c8
6
+ metadata.gz: 4a3206ca0900cec98220787578385061f279879d614610dfa7c170b1d487772ca4c31b32f183015465cafd3be99adca5aa6ca7b73a8294c4dc80e0551d9c01a4
7
+ data.tar.gz: 3960e1d52159f69f3725bc33626353757cbdd7e25809bdf3e36c9d922df12bc129087cd1e3dddd4e7d80e080845d157bf7ccac2a2b95fb42ea88aa9ac5ece76a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.165.0 (2023-01-31)
5
+ ------------------
6
+
7
+ * Feature - Amazon SageMaker Automatic Model Tuning now supports more completion criteria for Hyperparameter Optimization.
8
+
4
9
  1.164.0 (2023-01-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.164.0
1
+ 1.165.0
@@ -3264,6 +3264,7 @@ module Aws::SageMaker
3264
3264
  # resource_limits: { # required
3265
3265
  # max_number_of_training_jobs: 1,
3266
3266
  # max_parallel_training_jobs: 1, # required
3267
+ # max_runtime_in_seconds: 1,
3267
3268
  # },
3268
3269
  # parameter_ranges: {
3269
3270
  # integer_parameter_ranges: [
@@ -3291,7 +3292,13 @@ module Aws::SageMaker
3291
3292
  # },
3292
3293
  # training_job_early_stopping_type: "Off", # accepts Off, Auto
3293
3294
  # tuning_job_completion_criteria: {
3294
- # target_objective_metric_value: 1.0, # required
3295
+ # target_objective_metric_value: 1.0,
3296
+ # best_objective_not_improving: {
3297
+ # max_number_of_training_jobs_not_improving: 1,
3298
+ # },
3299
+ # convergence_detected: {
3300
+ # complete_on_convergence: "Disabled", # accepts Disabled, Enabled
3301
+ # },
3295
3302
  # },
3296
3303
  # random_seed: 1,
3297
3304
  # },
@@ -10965,6 +10972,8 @@ module Aws::SageMaker
10965
10972
  # * {Types::DescribeHyperParameterTuningJobResponse#overall_best_training_job #overall_best_training_job} => Types::HyperParameterTrainingJobSummary
10966
10973
  # * {Types::DescribeHyperParameterTuningJobResponse#warm_start_config #warm_start_config} => Types::HyperParameterTuningJobWarmStartConfig
10967
10974
  # * {Types::DescribeHyperParameterTuningJobResponse#failure_reason #failure_reason} => String
10975
+ # * {Types::DescribeHyperParameterTuningJobResponse#tuning_job_completion_details #tuning_job_completion_details} => Types::HyperParameterTuningJobCompletionDetails
10976
+ # * {Types::DescribeHyperParameterTuningJobResponse#consumed_resources #consumed_resources} => Types::HyperParameterTuningJobConsumedResources
10968
10977
  #
10969
10978
  # @example Request syntax with placeholder values
10970
10979
  #
@@ -10983,6 +10992,7 @@ module Aws::SageMaker
10983
10992
  # resp.hyper_parameter_tuning_job_config.hyper_parameter_tuning_job_objective.metric_name #=> String
10984
10993
  # resp.hyper_parameter_tuning_job_config.resource_limits.max_number_of_training_jobs #=> Integer
10985
10994
  # resp.hyper_parameter_tuning_job_config.resource_limits.max_parallel_training_jobs #=> Integer
10995
+ # resp.hyper_parameter_tuning_job_config.resource_limits.max_runtime_in_seconds #=> Integer
10986
10996
  # resp.hyper_parameter_tuning_job_config.parameter_ranges.integer_parameter_ranges #=> Array
10987
10997
  # resp.hyper_parameter_tuning_job_config.parameter_ranges.integer_parameter_ranges[0].name #=> String
10988
10998
  # resp.hyper_parameter_tuning_job_config.parameter_ranges.integer_parameter_ranges[0].min_value #=> String
@@ -10999,6 +11009,8 @@ module Aws::SageMaker
10999
11009
  # resp.hyper_parameter_tuning_job_config.parameter_ranges.categorical_parameter_ranges[0].values[0] #=> String
11000
11010
  # resp.hyper_parameter_tuning_job_config.training_job_early_stopping_type #=> String, one of "Off", "Auto"
11001
11011
  # resp.hyper_parameter_tuning_job_config.tuning_job_completion_criteria.target_objective_metric_value #=> Float
11012
+ # resp.hyper_parameter_tuning_job_config.tuning_job_completion_criteria.best_objective_not_improving.max_number_of_training_jobs_not_improving #=> Integer
11013
+ # resp.hyper_parameter_tuning_job_config.tuning_job_completion_criteria.convergence_detected.complete_on_convergence #=> String, one of "Disabled", "Enabled"
11002
11014
  # resp.hyper_parameter_tuning_job_config.random_seed #=> Integer
11003
11015
  # resp.training_job_definition.definition_name #=> String
11004
11016
  # resp.training_job_definition.tuning_objective.type #=> String, one of "Maximize", "Minimize"
@@ -11203,6 +11215,9 @@ module Aws::SageMaker
11203
11215
  # resp.warm_start_config.parent_hyper_parameter_tuning_jobs[0].hyper_parameter_tuning_job_name #=> String
11204
11216
  # resp.warm_start_config.warm_start_type #=> String, one of "IdenticalDataAndAlgorithm", "TransferLearning"
11205
11217
  # resp.failure_reason #=> String
11218
+ # resp.tuning_job_completion_details.number_of_training_jobs_objective_not_improving #=> Integer
11219
+ # resp.tuning_job_completion_details.convergence_detected_time #=> Time
11220
+ # resp.consumed_resources.runtime_in_seconds #=> Integer
11206
11221
  #
11207
11222
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJob AWS API Documentation
11208
11223
  #
@@ -16083,6 +16098,7 @@ module Aws::SageMaker
16083
16098
  # resp.hyper_parameter_tuning_job_summaries[0].objective_status_counters.failed #=> Integer
16084
16099
  # resp.hyper_parameter_tuning_job_summaries[0].resource_limits.max_number_of_training_jobs #=> Integer
16085
16100
  # resp.hyper_parameter_tuning_job_summaries[0].resource_limits.max_parallel_training_jobs #=> Integer
16101
+ # resp.hyper_parameter_tuning_job_summaries[0].resource_limits.max_runtime_in_seconds #=> Integer
16086
16102
  # resp.next_token #=> String
16087
16103
  #
16088
16104
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHyperParameterTuningJobs AWS API Documentation
@@ -22746,7 +22762,7 @@ module Aws::SageMaker
22746
22762
  params: params,
22747
22763
  config: config)
22748
22764
  context[:gem_name] = 'aws-sdk-sagemaker'
22749
- context[:gem_version] = '1.164.0'
22765
+ context[:gem_version] = '1.165.0'
22750
22766
  Seahorse::Client::Request.new(handlers, context)
22751
22767
  end
22752
22768
 
@@ -142,6 +142,7 @@ module Aws::SageMaker
142
142
  BatchDescribeModelPackageSummary = Shapes::StructureShape.new(name: 'BatchDescribeModelPackageSummary')
143
143
  BatchStrategy = Shapes::StringShape.new(name: 'BatchStrategy')
144
144
  BatchTransformInput = Shapes::StructureShape.new(name: 'BatchTransformInput')
145
+ BestObjectiveNotImproving = Shapes::StructureShape.new(name: 'BestObjectiveNotImproving')
145
146
  Bias = Shapes::StructureShape.new(name: 'Bias')
146
147
  BillableTimeInSeconds = Shapes::IntegerShape.new(name: 'BillableTimeInSeconds')
147
148
  BlockedReason = Shapes::StringShape.new(name: 'BlockedReason')
@@ -241,6 +242,7 @@ module Aws::SageMaker
241
242
  CompilationJobSummaries = Shapes::ListShape.new(name: 'CompilationJobSummaries')
242
243
  CompilationJobSummary = Shapes::StructureShape.new(name: 'CompilationJobSummary')
243
244
  CompilerOptions = Shapes::StringShape.new(name: 'CompilerOptions')
245
+ CompleteOnConvergence = Shapes::StringShape.new(name: 'CompleteOnConvergence')
244
246
  CompressionType = Shapes::StringShape.new(name: 'CompressionType')
245
247
  CompressionTypes = Shapes::ListShape.new(name: 'CompressionTypes')
246
248
  ConditionOutcome = Shapes::StringShape.new(name: 'ConditionOutcome')
@@ -269,6 +271,7 @@ module Aws::SageMaker
269
271
  ContinuousParameterRange = Shapes::StructureShape.new(name: 'ContinuousParameterRange')
270
272
  ContinuousParameterRangeSpecification = Shapes::StructureShape.new(name: 'ContinuousParameterRangeSpecification')
271
273
  ContinuousParameterRanges = Shapes::ListShape.new(name: 'ContinuousParameterRanges')
274
+ ConvergenceDetected = Shapes::StructureShape.new(name: 'ConvergenceDetected')
272
275
  CreateActionRequest = Shapes::StructureShape.new(name: 'CreateActionRequest')
273
276
  CreateActionResponse = Shapes::StructureShape.new(name: 'CreateActionResponse')
274
277
  CreateAlgorithmInput = Shapes::StructureShape.new(name: 'CreateAlgorithmInput')
@@ -847,7 +850,9 @@ module Aws::SageMaker
847
850
  HyperParameterTuningInstanceConfig = Shapes::StructureShape.new(name: 'HyperParameterTuningInstanceConfig')
848
851
  HyperParameterTuningInstanceConfigs = Shapes::ListShape.new(name: 'HyperParameterTuningInstanceConfigs')
849
852
  HyperParameterTuningJobArn = Shapes::StringShape.new(name: 'HyperParameterTuningJobArn')
853
+ HyperParameterTuningJobCompletionDetails = Shapes::StructureShape.new(name: 'HyperParameterTuningJobCompletionDetails')
850
854
  HyperParameterTuningJobConfig = Shapes::StructureShape.new(name: 'HyperParameterTuningJobConfig')
855
+ HyperParameterTuningJobConsumedResources = Shapes::StructureShape.new(name: 'HyperParameterTuningJobConsumedResources')
851
856
  HyperParameterTuningJobName = Shapes::StringShape.new(name: 'HyperParameterTuningJobName')
852
857
  HyperParameterTuningJobObjective = Shapes::StructureShape.new(name: 'HyperParameterTuningJobObjective')
853
858
  HyperParameterTuningJobObjectiveType = Shapes::StringShape.new(name: 'HyperParameterTuningJobObjectiveType')
@@ -861,6 +866,7 @@ module Aws::SageMaker
861
866
  HyperParameterTuningJobSummary = Shapes::StructureShape.new(name: 'HyperParameterTuningJobSummary')
862
867
  HyperParameterTuningJobWarmStartConfig = Shapes::StructureShape.new(name: 'HyperParameterTuningJobWarmStartConfig')
863
868
  HyperParameterTuningJobWarmStartType = Shapes::StringShape.new(name: 'HyperParameterTuningJobWarmStartType')
869
+ HyperParameterTuningMaxRuntimeInSeconds = Shapes::IntegerShape.new(name: 'HyperParameterTuningMaxRuntimeInSeconds')
864
870
  HyperParameterTuningResourceConfig = Shapes::StructureShape.new(name: 'HyperParameterTuningResourceConfig')
865
871
  HyperParameterValue = Shapes::StringShape.new(name: 'HyperParameterValue')
866
872
  HyperParameters = Shapes::MapShape.new(name: 'HyperParameters')
@@ -1153,6 +1159,7 @@ module Aws::SageMaker
1153
1159
  MaxHumanLabeledObjectCount = Shapes::IntegerShape.new(name: 'MaxHumanLabeledObjectCount')
1154
1160
  MaxNumberOfTests = Shapes::IntegerShape.new(name: 'MaxNumberOfTests')
1155
1161
  MaxNumberOfTrainingJobs = Shapes::IntegerShape.new(name: 'MaxNumberOfTrainingJobs')
1162
+ MaxNumberOfTrainingJobsNotImproving = Shapes::IntegerShape.new(name: 'MaxNumberOfTrainingJobsNotImproving')
1156
1163
  MaxParallelExecutionSteps = Shapes::IntegerShape.new(name: 'MaxParallelExecutionSteps')
1157
1164
  MaxParallelOfTests = Shapes::IntegerShape.new(name: 'MaxParallelOfTests')
1158
1165
  MaxParallelTrainingJobs = Shapes::IntegerShape.new(name: 'MaxParallelTrainingJobs')
@@ -2308,6 +2315,9 @@ module Aws::SageMaker
2308
2315
  BatchTransformInput.add_member(:end_time_offset, Shapes::ShapeRef.new(shape: MonitoringTimeOffsetString, location_name: "EndTimeOffset"))
2309
2316
  BatchTransformInput.struct_class = Types::BatchTransformInput
2310
2317
 
2318
+ BestObjectiveNotImproving.add_member(:max_number_of_training_jobs_not_improving, Shapes::ShapeRef.new(shape: MaxNumberOfTrainingJobsNotImproving, location_name: "MaxNumberOfTrainingJobsNotImproving"))
2319
+ BestObjectiveNotImproving.struct_class = Types::BestObjectiveNotImproving
2320
+
2311
2321
  Bias.add_member(:report, Shapes::ShapeRef.new(shape: MetricsSource, location_name: "Report"))
2312
2322
  Bias.add_member(:pre_training_report, Shapes::ShapeRef.new(shape: MetricsSource, location_name: "PreTrainingReport"))
2313
2323
  Bias.add_member(:post_training_report, Shapes::ShapeRef.new(shape: MetricsSource, location_name: "PostTrainingReport"))
@@ -2547,6 +2557,9 @@ module Aws::SageMaker
2547
2557
 
2548
2558
  ContinuousParameterRanges.member = Shapes::ShapeRef.new(shape: ContinuousParameterRange)
2549
2559
 
2560
+ ConvergenceDetected.add_member(:complete_on_convergence, Shapes::ShapeRef.new(shape: CompleteOnConvergence, location_name: "CompleteOnConvergence"))
2561
+ ConvergenceDetected.struct_class = Types::ConvergenceDetected
2562
+
2550
2563
  CreateActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: ExperimentEntityName, required: true, location_name: "ActionName"))
2551
2564
  CreateActionRequest.add_member(:source, Shapes::ShapeRef.new(shape: ActionSource, required: true, location_name: "Source"))
2552
2565
  CreateActionRequest.add_member(:action_type, Shapes::ShapeRef.new(shape: String256, required: true, location_name: "ActionType"))
@@ -3952,6 +3965,8 @@ module Aws::SageMaker
3952
3965
  DescribeHyperParameterTuningJobResponse.add_member(:overall_best_training_job, Shapes::ShapeRef.new(shape: HyperParameterTrainingJobSummary, location_name: "OverallBestTrainingJob"))
3953
3966
  DescribeHyperParameterTuningJobResponse.add_member(:warm_start_config, Shapes::ShapeRef.new(shape: HyperParameterTuningJobWarmStartConfig, location_name: "WarmStartConfig"))
3954
3967
  DescribeHyperParameterTuningJobResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
3968
+ DescribeHyperParameterTuningJobResponse.add_member(:tuning_job_completion_details, Shapes::ShapeRef.new(shape: HyperParameterTuningJobCompletionDetails, location_name: "TuningJobCompletionDetails"))
3969
+ DescribeHyperParameterTuningJobResponse.add_member(:consumed_resources, Shapes::ShapeRef.new(shape: HyperParameterTuningJobConsumedResources, location_name: "ConsumedResources"))
3955
3970
  DescribeHyperParameterTuningJobResponse.struct_class = Types::DescribeHyperParameterTuningJobResponse
3956
3971
 
3957
3972
  DescribeImageRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: ImageName, required: true, location_name: "ImageName"))
@@ -5151,6 +5166,10 @@ module Aws::SageMaker
5151
5166
 
5152
5167
  HyperParameterTuningInstanceConfigs.member = Shapes::ShapeRef.new(shape: HyperParameterTuningInstanceConfig)
5153
5168
 
5169
+ HyperParameterTuningJobCompletionDetails.add_member(:number_of_training_jobs_objective_not_improving, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfTrainingJobsObjectiveNotImproving"))
5170
+ HyperParameterTuningJobCompletionDetails.add_member(:convergence_detected_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ConvergenceDetectedTime"))
5171
+ HyperParameterTuningJobCompletionDetails.struct_class = Types::HyperParameterTuningJobCompletionDetails
5172
+
5154
5173
  HyperParameterTuningJobConfig.add_member(:strategy, Shapes::ShapeRef.new(shape: HyperParameterTuningJobStrategyType, required: true, location_name: "Strategy"))
5155
5174
  HyperParameterTuningJobConfig.add_member(:strategy_config, Shapes::ShapeRef.new(shape: HyperParameterTuningJobStrategyConfig, location_name: "StrategyConfig"))
5156
5175
  HyperParameterTuningJobConfig.add_member(:hyper_parameter_tuning_job_objective, Shapes::ShapeRef.new(shape: HyperParameterTuningJobObjective, location_name: "HyperParameterTuningJobObjective"))
@@ -5161,6 +5180,9 @@ module Aws::SageMaker
5161
5180
  HyperParameterTuningJobConfig.add_member(:random_seed, Shapes::ShapeRef.new(shape: RandomSeed, location_name: "RandomSeed"))
5162
5181
  HyperParameterTuningJobConfig.struct_class = Types::HyperParameterTuningJobConfig
5163
5182
 
5183
+ HyperParameterTuningJobConsumedResources.add_member(:runtime_in_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "RuntimeInSeconds"))
5184
+ HyperParameterTuningJobConsumedResources.struct_class = Types::HyperParameterTuningJobConsumedResources
5185
+
5164
5186
  HyperParameterTuningJobObjective.add_member(:type, Shapes::ShapeRef.new(shape: HyperParameterTuningJobObjectiveType, required: true, location_name: "Type"))
5165
5187
  HyperParameterTuningJobObjective.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "MetricName"))
5166
5188
  HyperParameterTuningJobObjective.struct_class = Types::HyperParameterTuningJobObjective
@@ -5183,6 +5205,8 @@ module Aws::SageMaker
5183
5205
  HyperParameterTuningJobSearchEntity.add_member(:warm_start_config, Shapes::ShapeRef.new(shape: HyperParameterTuningJobWarmStartConfig, location_name: "WarmStartConfig"))
5184
5206
  HyperParameterTuningJobSearchEntity.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
5185
5207
  HyperParameterTuningJobSearchEntity.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
5208
+ HyperParameterTuningJobSearchEntity.add_member(:tuning_job_completion_details, Shapes::ShapeRef.new(shape: HyperParameterTuningJobCompletionDetails, location_name: "TuningJobCompletionDetails"))
5209
+ HyperParameterTuningJobSearchEntity.add_member(:consumed_resources, Shapes::ShapeRef.new(shape: HyperParameterTuningJobConsumedResources, location_name: "ConsumedResources"))
5186
5210
  HyperParameterTuningJobSearchEntity.struct_class = Types::HyperParameterTuningJobSearchEntity
5187
5211
 
5188
5212
  HyperParameterTuningJobStrategyConfig.add_member(:hyperband_strategy_config, Shapes::ShapeRef.new(shape: HyperbandStrategyConfig, location_name: "HyperbandStrategyConfig"))
@@ -7715,6 +7739,7 @@ module Aws::SageMaker
7715
7739
 
7716
7740
  ResourceLimits.add_member(:max_number_of_training_jobs, Shapes::ShapeRef.new(shape: MaxNumberOfTrainingJobs, location_name: "MaxNumberOfTrainingJobs"))
7717
7741
  ResourceLimits.add_member(:max_parallel_training_jobs, Shapes::ShapeRef.new(shape: MaxParallelTrainingJobs, required: true, location_name: "MaxParallelTrainingJobs"))
7742
+ ResourceLimits.add_member(:max_runtime_in_seconds, Shapes::ShapeRef.new(shape: HyperParameterTuningMaxRuntimeInSeconds, location_name: "MaxRuntimeInSeconds"))
7718
7743
  ResourceLimits.struct_class = Types::ResourceLimits
7719
7744
 
7720
7745
  ResourceNotFound.add_member(:message, Shapes::ShapeRef.new(shape: FailureReason, location_name: "Message"))
@@ -8315,7 +8340,9 @@ module Aws::SageMaker
8315
8340
  TrialSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
8316
8341
  TrialSummary.struct_class = Types::TrialSummary
8317
8342
 
8318
- TuningJobCompletionCriteria.add_member(:target_objective_metric_value, Shapes::ShapeRef.new(shape: TargetObjectiveMetricValue, required: true, location_name: "TargetObjectiveMetricValue"))
8343
+ TuningJobCompletionCriteria.add_member(:target_objective_metric_value, Shapes::ShapeRef.new(shape: TargetObjectiveMetricValue, location_name: "TargetObjectiveMetricValue"))
8344
+ TuningJobCompletionCriteria.add_member(:best_objective_not_improving, Shapes::ShapeRef.new(shape: BestObjectiveNotImproving, location_name: "BestObjectiveNotImproving"))
8345
+ TuningJobCompletionCriteria.add_member(:convergence_detected, Shapes::ShapeRef.new(shape: ConvergenceDetected, location_name: "ConvergenceDetected"))
8319
8346
  TuningJobCompletionCriteria.struct_class = Types::TuningJobCompletionCriteria
8320
8347
 
8321
8348
  TuningJobStepMetaData.add_member(:arn, Shapes::ShapeRef.new(shape: HyperParameterTuningJobArn, location_name: "Arn"))
@@ -2604,6 +2604,24 @@ module Aws::SageMaker
2604
2604
  include Aws::Structure
2605
2605
  end
2606
2606
 
2607
+ # A structure that keeps track of which training jobs launched by your
2608
+ # hyperparameter tuning job are not improving model performance as
2609
+ # evaluated against an objective function.
2610
+ #
2611
+ # @!attribute [rw] max_number_of_training_jobs_not_improving
2612
+ # The number of training jobs that have failed to improve model
2613
+ # performance by 1% or greater over prior training jobs as evaluated
2614
+ # against an objective function.
2615
+ # @return [Integer]
2616
+ #
2617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/BestObjectiveNotImproving AWS API Documentation
2618
+ #
2619
+ class BestObjectiveNotImproving < Struct.new(
2620
+ :max_number_of_training_jobs_not_improving)
2621
+ SENSITIVE = []
2622
+ include Aws::Structure
2623
+ end
2624
+
2607
2625
  # Contains bias metrics for a model.
2608
2626
  #
2609
2627
  # @!attribute [rw] report
@@ -3925,6 +3943,23 @@ module Aws::SageMaker
3925
3943
  include Aws::Structure
3926
3944
  end
3927
3945
 
3946
+ # A flag to indicating that automatic model tuning (AMT) has detected
3947
+ # model convergence, defined as a lack of significant improvement (1% or
3948
+ # less) against an objective metric.
3949
+ #
3950
+ # @!attribute [rw] complete_on_convergence
3951
+ # A flag to stop a tuning job once AMT has detected that the job has
3952
+ # converged.
3953
+ # @return [String]
3954
+ #
3955
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ConvergenceDetected AWS API Documentation
3956
+ #
3957
+ class ConvergenceDetected < Struct.new(
3958
+ :complete_on_convergence)
3959
+ SENSITIVE = []
3960
+ include Aws::Structure
3961
+ end
3962
+
3928
3963
  # @!attribute [rw] action_name
3929
3964
  # The name of the action. Must be unique to your account in an Amazon
3930
3965
  # Web Services Region.
@@ -11842,6 +11877,18 @@ module Aws::SageMaker
11842
11877
  # If the tuning job failed, the reason it failed.
11843
11878
  # @return [String]
11844
11879
  #
11880
+ # @!attribute [rw] tuning_job_completion_details
11881
+ # Tuning job completion information returned as the response from a
11882
+ # hyperparameter tuning job. This information tells if your tuning job
11883
+ # has or has not converged. It also includes the number of training
11884
+ # jobs that have not improved model performance as evaluated against
11885
+ # the objective function.
11886
+ # @return [Types::HyperParameterTuningJobCompletionDetails]
11887
+ #
11888
+ # @!attribute [rw] consumed_resources
11889
+ # The total resources consumed by your hyperparameter tuning job.
11890
+ # @return [Types::HyperParameterTuningJobConsumedResources]
11891
+ #
11845
11892
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJobResponse AWS API Documentation
11846
11893
  #
11847
11894
  class DescribeHyperParameterTuningJobResponse < Struct.new(
@@ -11859,7 +11906,9 @@ module Aws::SageMaker
11859
11906
  :best_training_job,
11860
11907
  :overall_best_training_job,
11861
11908
  :warm_start_config,
11862
- :failure_reason)
11909
+ :failure_reason,
11910
+ :tuning_job_completion_details,
11911
+ :consumed_resources)
11863
11912
  SENSITIVE = []
11864
11913
  include Aws::Structure
11865
11914
  end
@@ -19147,6 +19196,30 @@ module Aws::SageMaker
19147
19196
  include Aws::Structure
19148
19197
  end
19149
19198
 
19199
+ # A structure that contains runtime information about both current and
19200
+ # completed hyperparameter tuning jobs.
19201
+ #
19202
+ # @!attribute [rw] number_of_training_jobs_objective_not_improving
19203
+ # The number of training jobs launched by a tuning job that are not
19204
+ # improving (1% or less) as measured by model performance evaluated
19205
+ # against an objective function.
19206
+ # @return [Integer]
19207
+ #
19208
+ # @!attribute [rw] convergence_detected_time
19209
+ # The time in timestamp format that AMT detected model convergence, as
19210
+ # defined by a lack of significant improvement over time based on
19211
+ # criteria developed over a wide range of diverse benchmarking tests.
19212
+ # @return [Time]
19213
+ #
19214
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HyperParameterTuningJobCompletionDetails AWS API Documentation
19215
+ #
19216
+ class HyperParameterTuningJobCompletionDetails < Struct.new(
19217
+ :number_of_training_jobs_objective_not_improving,
19218
+ :convergence_detected_time)
19219
+ SENSITIVE = []
19220
+ include Aws::Structure
19221
+ end
19222
+
19150
19223
  # Configures a hyperparameter tuning job.
19151
19224
  #
19152
19225
  # @!attribute [rw] strategy
@@ -19236,6 +19309,21 @@ module Aws::SageMaker
19236
19309
  include Aws::Structure
19237
19310
  end
19238
19311
 
19312
+ # The total resources consumed by your hyperparameter tuning job.
19313
+ #
19314
+ # @!attribute [rw] runtime_in_seconds
19315
+ # The wall clock runtime in seconds used by your hyperparameter tuning
19316
+ # job.
19317
+ # @return [Integer]
19318
+ #
19319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HyperParameterTuningJobConsumedResources AWS API Documentation
19320
+ #
19321
+ class HyperParameterTuningJobConsumedResources < Struct.new(
19322
+ :runtime_in_seconds)
19323
+ SENSITIVE = []
19324
+ include Aws::Structure
19325
+ end
19326
+
19239
19327
  # Defines the objective metric for a hyperparameter tuning job.
19240
19328
  # Hyperparameter tuning uses the value of this metric to evaluate the
19241
19329
  # training jobs it launches, and returns the training job that results
@@ -19357,6 +19445,16 @@ module Aws::SageMaker
19357
19445
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
19358
19446
  # @return [Array<Types::Tag>]
19359
19447
  #
19448
+ # @!attribute [rw] tuning_job_completion_details
19449
+ # Information about either a current or completed hyperparameter
19450
+ # tuning job.
19451
+ # @return [Types::HyperParameterTuningJobCompletionDetails]
19452
+ #
19453
+ # @!attribute [rw] consumed_resources
19454
+ # The total amount of resources consumed by a hyperparameter tuning
19455
+ # job.
19456
+ # @return [Types::HyperParameterTuningJobConsumedResources]
19457
+ #
19360
19458
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HyperParameterTuningJobSearchEntity AWS API Documentation
19361
19459
  #
19362
19460
  class HyperParameterTuningJobSearchEntity < Struct.new(
@@ -19375,7 +19473,9 @@ module Aws::SageMaker
19375
19473
  :overall_best_training_job,
19376
19474
  :warm_start_config,
19377
19475
  :failure_reason,
19378
- :tags)
19476
+ :tags,
19477
+ :tuning_job_completion_details,
19478
+ :consumed_resources)
19379
19479
  SENSITIVE = []
19380
19480
  include Aws::Structure
19381
19481
  end
@@ -33350,11 +33450,17 @@ module Aws::SageMaker
33350
33450
  # tuning job can launch.
33351
33451
  # @return [Integer]
33352
33452
  #
33453
+ # @!attribute [rw] max_runtime_in_seconds
33454
+ # The maximum time in seconds that a training job launched by a
33455
+ # hyperparameter tuning job can run.
33456
+ # @return [Integer]
33457
+ #
33353
33458
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ResourceLimits AWS API Documentation
33354
33459
  #
33355
33460
  class ResourceLimits < Struct.new(
33356
33461
  :max_number_of_training_jobs,
33357
- :max_parallel_training_jobs)
33462
+ :max_parallel_training_jobs,
33463
+ :max_runtime_in_seconds)
33358
33464
  SENSITIVE = []
33359
33465
  include Aws::Structure
33360
33466
  end
@@ -36956,10 +37062,23 @@ module Aws::SageMaker
36956
37062
  # The value of the objective metric.
36957
37063
  # @return [Float]
36958
37064
  #
37065
+ # @!attribute [rw] best_objective_not_improving
37066
+ # A flag to stop your hyperparameter tuning job if model performance
37067
+ # fails to improve as evaluated against an objective function.
37068
+ # @return [Types::BestObjectiveNotImproving]
37069
+ #
37070
+ # @!attribute [rw] convergence_detected
37071
+ # A flag to top your hyperparameter tuning job if automatic model
37072
+ # tuning (AMT) has detected that your model has converged as evaluated
37073
+ # against your objective function.
37074
+ # @return [Types::ConvergenceDetected]
37075
+ #
36959
37076
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TuningJobCompletionCriteria AWS API Documentation
36960
37077
  #
36961
37078
  class TuningJobCompletionCriteria < Struct.new(
36962
- :target_objective_metric_value)
37079
+ :target_objective_metric_value,
37080
+ :best_objective_not_improving,
37081
+ :convergence_detected)
36963
37082
  SENSITIVE = []
36964
37083
  include Aws::Structure
36965
37084
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
53
53
  # @!group service
54
54
  module Aws::SageMaker
55
55
 
56
- GEM_VERSION = '1.164.0'
56
+ GEM_VERSION = '1.165.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sagemaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.164.0
4
+ version: 1.165.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-27 00:00:00.000000000 Z
11
+ date: 2023-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core