aws-sdk-sagemaker 1.180.0 → 1.181.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +70 -2
- data/lib/aws-sdk-sagemaker/client_api.rb +16 -0
- data/lib/aws-sdk-sagemaker/types.rb +119 -4
- data/lib/aws-sdk-sagemaker.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 073d62a75d1b1b08105c7aa45d6433b51aacddcf7e6d82e38449cfc830944add
|
4
|
+
data.tar.gz: 5f063777c6173ceecd31b8a7d1ab6e985eeb965d1f00fc4f673e7d1f58929447
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8178fc8c0b99b0ab498efa45ff0392b7c8384d233f43c946a3b448eacc459cff239c8e39b2901d8a0a06b8178f21a99d99d43dac93d25a8a3ce5edc7e8a0f5b4
|
7
|
+
data.tar.gz: 3e7ba1060914d8b14b7176be23eaa55a577d36652dc8db88584094db0ff74faf1f7595ba85bbc8a043582211bfe8b5978ee39ee79e5201ffb4b7fc03d09e8429
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.181.0 (2023-05-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon SageMaker Automatic Model Tuning now supports enabling Autotune for tuning jobs which can choose tuning job configurations.
|
8
|
+
|
4
9
|
1.180.0 (2023-05-24)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.181.0
|
@@ -3510,6 +3510,40 @@ module Aws::SageMaker
|
|
3510
3510
|
#
|
3511
3511
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
3512
3512
|
#
|
3513
|
+
# @option params [Types::Autotune] :autotune
|
3514
|
+
# Configures SageMaker Automatic model tuning (AMT) to automatically
|
3515
|
+
# find optimal parameters for the following fields:
|
3516
|
+
#
|
3517
|
+
# * [ParameterRanges][1]: The names and ranges of parameters that a
|
3518
|
+
# hyperparameter tuning job can optimize.
|
3519
|
+
#
|
3520
|
+
# * [ResourceLimits][2]: The maximum resources that can be used for a
|
3521
|
+
# training job. These resources include the maximum number of training
|
3522
|
+
# jobs, the maximum runtime of a tuning job, and the maximum number of
|
3523
|
+
# training jobs to run at the same time.
|
3524
|
+
#
|
3525
|
+
# * [TrainingJobEarlyStoppingType][3]: A flag that specifies whether or
|
3526
|
+
# not to use early stopping for training jobs launched by a
|
3527
|
+
# hyperparameter tuning job.
|
3528
|
+
#
|
3529
|
+
# * [RetryStrategy][4]: The number of times to retry a training job.
|
3530
|
+
#
|
3531
|
+
# * [Strategy][5]: Specifies how hyperparameter tuning chooses the
|
3532
|
+
# combinations of hyperparameter values to use for the training jobs
|
3533
|
+
# that it launches.
|
3534
|
+
#
|
3535
|
+
# * [ConvergenceDetected][6]: A flag to indicate that Automatic model
|
3536
|
+
# tuning (AMT) has detected model convergence.
|
3537
|
+
#
|
3538
|
+
#
|
3539
|
+
#
|
3540
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html#sagemaker-Type-HyperParameterTuningJobConfig-ParameterRanges
|
3541
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ResourceLimits.html
|
3542
|
+
# [3]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html#sagemaker-Type-HyperParameterTuningJobConfig-TrainingJobEarlyStoppingType
|
3543
|
+
# [4]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTrainingJobDefinition.html#sagemaker-Type-HyperParameterTrainingJobDefinition-RetryStrategy
|
3544
|
+
# [5]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html
|
3545
|
+
# [6]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ConvergenceDetected.html
|
3546
|
+
#
|
3513
3547
|
# @return [Types::CreateHyperParameterTuningJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3514
3548
|
#
|
3515
3549
|
# * {Types::CreateHyperParameterTuningJobResponse#hyper_parameter_tuning_job_arn #hyper_parameter_tuning_job_arn} => String
|
@@ -3558,6 +3592,12 @@ module Aws::SageMaker
|
|
3558
3592
|
# values: ["ParameterValue"], # required
|
3559
3593
|
# },
|
3560
3594
|
# ],
|
3595
|
+
# auto_parameters: [
|
3596
|
+
# {
|
3597
|
+
# name: "ParameterKey", # required
|
3598
|
+
# value_hint: "ParameterValue", # required
|
3599
|
+
# },
|
3600
|
+
# ],
|
3561
3601
|
# },
|
3562
3602
|
# training_job_early_stopping_type: "Off", # accepts Off, Auto
|
3563
3603
|
# tuning_job_completion_criteria: {
|
@@ -3600,6 +3640,12 @@ module Aws::SageMaker
|
|
3600
3640
|
# values: ["ParameterValue"], # required
|
3601
3641
|
# },
|
3602
3642
|
# ],
|
3643
|
+
# auto_parameters: [
|
3644
|
+
# {
|
3645
|
+
# name: "ParameterKey", # required
|
3646
|
+
# value_hint: "ParameterValue", # required
|
3647
|
+
# },
|
3648
|
+
# ],
|
3603
3649
|
# },
|
3604
3650
|
# static_hyper_parameters: {
|
3605
3651
|
# "HyperParameterKey" => "HyperParameterValue",
|
@@ -3727,6 +3773,12 @@ module Aws::SageMaker
|
|
3727
3773
|
# values: ["ParameterValue"], # required
|
3728
3774
|
# },
|
3729
3775
|
# ],
|
3776
|
+
# auto_parameters: [
|
3777
|
+
# {
|
3778
|
+
# name: "ParameterKey", # required
|
3779
|
+
# value_hint: "ParameterValue", # required
|
3780
|
+
# },
|
3781
|
+
# ],
|
3730
3782
|
# },
|
3731
3783
|
# static_hyper_parameters: {
|
3732
3784
|
# "HyperParameterKey" => "HyperParameterValue",
|
@@ -3839,6 +3891,9 @@ module Aws::SageMaker
|
|
3839
3891
|
# value: "TagValue", # required
|
3840
3892
|
# },
|
3841
3893
|
# ],
|
3894
|
+
# autotune: {
|
3895
|
+
# mode: "Enabled", # required, accepts Enabled
|
3896
|
+
# },
|
3842
3897
|
# })
|
3843
3898
|
#
|
3844
3899
|
# @example Response structure
|
@@ -11495,7 +11550,9 @@ module Aws::SageMaker
|
|
11495
11550
|
req.send_request(options)
|
11496
11551
|
end
|
11497
11552
|
|
11498
|
-
#
|
11553
|
+
# Returns a description of a hyperparameter tuning job, depending on the
|
11554
|
+
# fields selected. These fields can include the name, Amazon Resource
|
11555
|
+
# Name (ARN), job status of your tuning job and more.
|
11499
11556
|
#
|
11500
11557
|
# @option params [required, String] :hyper_parameter_tuning_job_name
|
11501
11558
|
# The name of the tuning job.
|
@@ -11519,6 +11576,7 @@ module Aws::SageMaker
|
|
11519
11576
|
# * {Types::DescribeHyperParameterTuningJobResponse#failure_reason #failure_reason} => String
|
11520
11577
|
# * {Types::DescribeHyperParameterTuningJobResponse#tuning_job_completion_details #tuning_job_completion_details} => Types::HyperParameterTuningJobCompletionDetails
|
11521
11578
|
# * {Types::DescribeHyperParameterTuningJobResponse#consumed_resources #consumed_resources} => Types::HyperParameterTuningJobConsumedResources
|
11579
|
+
# * {Types::DescribeHyperParameterTuningJobResponse#autotune #autotune} => Types::Autotune
|
11522
11580
|
#
|
11523
11581
|
# @example Request syntax with placeholder values
|
11524
11582
|
#
|
@@ -11552,6 +11610,9 @@ module Aws::SageMaker
|
|
11552
11610
|
# resp.hyper_parameter_tuning_job_config.parameter_ranges.categorical_parameter_ranges[0].name #=> String
|
11553
11611
|
# resp.hyper_parameter_tuning_job_config.parameter_ranges.categorical_parameter_ranges[0].values #=> Array
|
11554
11612
|
# resp.hyper_parameter_tuning_job_config.parameter_ranges.categorical_parameter_ranges[0].values[0] #=> String
|
11613
|
+
# resp.hyper_parameter_tuning_job_config.parameter_ranges.auto_parameters #=> Array
|
11614
|
+
# resp.hyper_parameter_tuning_job_config.parameter_ranges.auto_parameters[0].name #=> String
|
11615
|
+
# resp.hyper_parameter_tuning_job_config.parameter_ranges.auto_parameters[0].value_hint #=> String
|
11555
11616
|
# resp.hyper_parameter_tuning_job_config.training_job_early_stopping_type #=> String, one of "Off", "Auto"
|
11556
11617
|
# resp.hyper_parameter_tuning_job_config.tuning_job_completion_criteria.target_objective_metric_value #=> Float
|
11557
11618
|
# resp.hyper_parameter_tuning_job_config.tuning_job_completion_criteria.best_objective_not_improving.max_number_of_training_jobs_not_improving #=> Integer
|
@@ -11574,6 +11635,9 @@ module Aws::SageMaker
|
|
11574
11635
|
# resp.training_job_definition.hyper_parameter_ranges.categorical_parameter_ranges[0].name #=> String
|
11575
11636
|
# resp.training_job_definition.hyper_parameter_ranges.categorical_parameter_ranges[0].values #=> Array
|
11576
11637
|
# resp.training_job_definition.hyper_parameter_ranges.categorical_parameter_ranges[0].values[0] #=> String
|
11638
|
+
# resp.training_job_definition.hyper_parameter_ranges.auto_parameters #=> Array
|
11639
|
+
# resp.training_job_definition.hyper_parameter_ranges.auto_parameters[0].name #=> String
|
11640
|
+
# resp.training_job_definition.hyper_parameter_ranges.auto_parameters[0].value_hint #=> String
|
11577
11641
|
# resp.training_job_definition.static_hyper_parameters #=> Hash
|
11578
11642
|
# resp.training_job_definition.static_hyper_parameters["HyperParameterKey"] #=> String
|
11579
11643
|
# resp.training_job_definition.algorithm_specification.training_image #=> String
|
@@ -11653,6 +11717,9 @@ module Aws::SageMaker
|
|
11653
11717
|
# resp.training_job_definitions[0].hyper_parameter_ranges.categorical_parameter_ranges[0].name #=> String
|
11654
11718
|
# resp.training_job_definitions[0].hyper_parameter_ranges.categorical_parameter_ranges[0].values #=> Array
|
11655
11719
|
# resp.training_job_definitions[0].hyper_parameter_ranges.categorical_parameter_ranges[0].values[0] #=> String
|
11720
|
+
# resp.training_job_definitions[0].hyper_parameter_ranges.auto_parameters #=> Array
|
11721
|
+
# resp.training_job_definitions[0].hyper_parameter_ranges.auto_parameters[0].name #=> String
|
11722
|
+
# resp.training_job_definitions[0].hyper_parameter_ranges.auto_parameters[0].value_hint #=> String
|
11656
11723
|
# resp.training_job_definitions[0].static_hyper_parameters #=> Hash
|
11657
11724
|
# resp.training_job_definitions[0].static_hyper_parameters["HyperParameterKey"] #=> String
|
11658
11725
|
# resp.training_job_definitions[0].algorithm_specification.training_image #=> String
|
@@ -11763,6 +11830,7 @@ module Aws::SageMaker
|
|
11763
11830
|
# resp.tuning_job_completion_details.number_of_training_jobs_objective_not_improving #=> Integer
|
11764
11831
|
# resp.tuning_job_completion_details.convergence_detected_time #=> Time
|
11765
11832
|
# resp.consumed_resources.runtime_in_seconds #=> Integer
|
11833
|
+
# resp.autotune.mode #=> String, one of "Enabled"
|
11766
11834
|
#
|
11767
11835
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJob AWS API Documentation
|
11768
11836
|
#
|
@@ -23516,7 +23584,7 @@ module Aws::SageMaker
|
|
23516
23584
|
params: params,
|
23517
23585
|
config: config)
|
23518
23586
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
23519
|
-
context[:gem_version] = '1.
|
23587
|
+
context[:gem_version] = '1.181.0'
|
23520
23588
|
Seahorse::Client::Request.new(handlers, context)
|
23521
23589
|
end
|
23522
23590
|
|
@@ -143,7 +143,11 @@ module Aws::SageMaker
|
|
143
143
|
AutoMLSecurityConfig = Shapes::StructureShape.new(name: 'AutoMLSecurityConfig')
|
144
144
|
AutoMLSortBy = Shapes::StringShape.new(name: 'AutoMLSortBy')
|
145
145
|
AutoMLSortOrder = Shapes::StringShape.new(name: 'AutoMLSortOrder')
|
146
|
+
AutoParameter = Shapes::StructureShape.new(name: 'AutoParameter')
|
147
|
+
AutoParameters = Shapes::ListShape.new(name: 'AutoParameters')
|
146
148
|
AutoRollbackConfig = Shapes::StructureShape.new(name: 'AutoRollbackConfig')
|
149
|
+
Autotune = Shapes::StructureShape.new(name: 'Autotune')
|
150
|
+
AutotuneMode = Shapes::StringShape.new(name: 'AutotuneMode')
|
147
151
|
AwsManagedHumanLoopRequestSource = Shapes::StringShape.new(name: 'AwsManagedHumanLoopRequestSource')
|
148
152
|
BatchDataCaptureConfig = Shapes::StructureShape.new(name: 'BatchDataCaptureConfig')
|
149
153
|
BatchDescribeModelPackageError = Shapes::StructureShape.new(name: 'BatchDescribeModelPackageError')
|
@@ -2334,9 +2338,18 @@ module Aws::SageMaker
|
|
2334
2338
|
AutoMLSecurityConfig.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
2335
2339
|
AutoMLSecurityConfig.struct_class = Types::AutoMLSecurityConfig
|
2336
2340
|
|
2341
|
+
AutoParameter.add_member(:name, Shapes::ShapeRef.new(shape: ParameterKey, required: true, location_name: "Name"))
|
2342
|
+
AutoParameter.add_member(:value_hint, Shapes::ShapeRef.new(shape: ParameterValue, required: true, location_name: "ValueHint"))
|
2343
|
+
AutoParameter.struct_class = Types::AutoParameter
|
2344
|
+
|
2345
|
+
AutoParameters.member = Shapes::ShapeRef.new(shape: AutoParameter)
|
2346
|
+
|
2337
2347
|
AutoRollbackConfig.add_member(:alarms, Shapes::ShapeRef.new(shape: AlarmList, location_name: "Alarms"))
|
2338
2348
|
AutoRollbackConfig.struct_class = Types::AutoRollbackConfig
|
2339
2349
|
|
2350
|
+
Autotune.add_member(:mode, Shapes::ShapeRef.new(shape: AutotuneMode, required: true, location_name: "Mode"))
|
2351
|
+
Autotune.struct_class = Types::Autotune
|
2352
|
+
|
2340
2353
|
BatchDataCaptureConfig.add_member(:destination_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "DestinationS3Uri"))
|
2341
2354
|
BatchDataCaptureConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
2342
2355
|
BatchDataCaptureConfig.add_member(:generate_inference_id, Shapes::ShapeRef.new(shape: Boolean, location_name: "GenerateInferenceId"))
|
@@ -2890,6 +2903,7 @@ module Aws::SageMaker
|
|
2890
2903
|
CreateHyperParameterTuningJobRequest.add_member(:training_job_definitions, Shapes::ShapeRef.new(shape: HyperParameterTrainingJobDefinitions, location_name: "TrainingJobDefinitions"))
|
2891
2904
|
CreateHyperParameterTuningJobRequest.add_member(:warm_start_config, Shapes::ShapeRef.new(shape: HyperParameterTuningJobWarmStartConfig, location_name: "WarmStartConfig"))
|
2892
2905
|
CreateHyperParameterTuningJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
2906
|
+
CreateHyperParameterTuningJobRequest.add_member(:autotune, Shapes::ShapeRef.new(shape: Autotune, location_name: "Autotune"))
|
2893
2907
|
CreateHyperParameterTuningJobRequest.struct_class = Types::CreateHyperParameterTuningJobRequest
|
2894
2908
|
|
2895
2909
|
CreateHyperParameterTuningJobResponse.add_member(:hyper_parameter_tuning_job_arn, Shapes::ShapeRef.new(shape: HyperParameterTuningJobArn, required: true, location_name: "HyperParameterTuningJobArn"))
|
@@ -4075,6 +4089,7 @@ module Aws::SageMaker
|
|
4075
4089
|
DescribeHyperParameterTuningJobResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
4076
4090
|
DescribeHyperParameterTuningJobResponse.add_member(:tuning_job_completion_details, Shapes::ShapeRef.new(shape: HyperParameterTuningJobCompletionDetails, location_name: "TuningJobCompletionDetails"))
|
4077
4091
|
DescribeHyperParameterTuningJobResponse.add_member(:consumed_resources, Shapes::ShapeRef.new(shape: HyperParameterTuningJobConsumedResources, location_name: "ConsumedResources"))
|
4092
|
+
DescribeHyperParameterTuningJobResponse.add_member(:autotune, Shapes::ShapeRef.new(shape: Autotune, location_name: "Autotune"))
|
4078
4093
|
DescribeHyperParameterTuningJobResponse.struct_class = Types::DescribeHyperParameterTuningJobResponse
|
4079
4094
|
|
4080
4095
|
DescribeImageRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: ImageName, required: true, location_name: "ImageName"))
|
@@ -7316,6 +7331,7 @@ module Aws::SageMaker
|
|
7316
7331
|
ParameterRanges.add_member(:integer_parameter_ranges, Shapes::ShapeRef.new(shape: IntegerParameterRanges, location_name: "IntegerParameterRanges"))
|
7317
7332
|
ParameterRanges.add_member(:continuous_parameter_ranges, Shapes::ShapeRef.new(shape: ContinuousParameterRanges, location_name: "ContinuousParameterRanges"))
|
7318
7333
|
ParameterRanges.add_member(:categorical_parameter_ranges, Shapes::ShapeRef.new(shape: CategoricalParameterRanges, location_name: "CategoricalParameterRanges"))
|
7334
|
+
ParameterRanges.add_member(:auto_parameters, Shapes::ShapeRef.new(shape: AutoParameters, location_name: "AutoParameters"))
|
7319
7335
|
ParameterRanges.struct_class = Types::ParameterRanges
|
7320
7336
|
|
7321
7337
|
ParameterValues.member = Shapes::ShapeRef.new(shape: ParameterValue)
|
@@ -2494,6 +2494,28 @@ module Aws::SageMaker
|
|
2494
2494
|
include Aws::Structure
|
2495
2495
|
end
|
2496
2496
|
|
2497
|
+
# The name and an example value of the hyperparameter that you want to
|
2498
|
+
# use in Autotune. If Automatic model tuning (AMT) determines that your
|
2499
|
+
# hyperparameter is eligible for Autotune, an optimal hyperparameter
|
2500
|
+
# range is selected for you.
|
2501
|
+
#
|
2502
|
+
# @!attribute [rw] name
|
2503
|
+
# The name of the hyperparameter to optimize using Autotune.
|
2504
|
+
# @return [String]
|
2505
|
+
#
|
2506
|
+
# @!attribute [rw] value_hint
|
2507
|
+
# An example value of the hyperparameter to optimize using Autotune.
|
2508
|
+
# @return [String]
|
2509
|
+
#
|
2510
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AutoParameter AWS API Documentation
|
2511
|
+
#
|
2512
|
+
class AutoParameter < Struct.new(
|
2513
|
+
:name,
|
2514
|
+
:value_hint)
|
2515
|
+
SENSITIVE = []
|
2516
|
+
include Aws::Structure
|
2517
|
+
end
|
2518
|
+
|
2497
2519
|
# Automatic rollback configuration for handling endpoint deployment
|
2498
2520
|
# failures and recovery.
|
2499
2521
|
#
|
@@ -2511,6 +2533,51 @@ module Aws::SageMaker
|
|
2511
2533
|
include Aws::Structure
|
2512
2534
|
end
|
2513
2535
|
|
2536
|
+
# A flag to indicate if you want to use Autotune to automatically find
|
2537
|
+
# optimal values for the following fields:
|
2538
|
+
#
|
2539
|
+
# * [ParameterRanges][1]: The names and ranges of parameters that a
|
2540
|
+
# hyperparameter tuning job can optimize.
|
2541
|
+
#
|
2542
|
+
# * [ResourceLimits][2]: The maximum resources that can be used for a
|
2543
|
+
# training job. These resources include the maximum number of training
|
2544
|
+
# jobs, the maximum runtime of a tuning job, and the maximum number of
|
2545
|
+
# training jobs to run at the same time.
|
2546
|
+
#
|
2547
|
+
# * [TrainingJobEarlyStoppingType][3]: A flag that specifies whether or
|
2548
|
+
# not to use early stopping for training jobs launched by a
|
2549
|
+
# hyperparameter tuning job.
|
2550
|
+
#
|
2551
|
+
# * [RetryStrategy][4]: The number of times to retry a training job.
|
2552
|
+
#
|
2553
|
+
# * [Strategy][5]: Specifies how hyperparameter tuning chooses the
|
2554
|
+
# combinations of hyperparameter values to use for the training jobs
|
2555
|
+
# that it launches.
|
2556
|
+
#
|
2557
|
+
# * [ConvergenceDetected][6]: A flag to indicate that Automatic model
|
2558
|
+
# tuning (AMT) has detected model convergence.
|
2559
|
+
#
|
2560
|
+
#
|
2561
|
+
#
|
2562
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html#sagemaker-Type-HyperParameterTuningJobConfig-ParameterRanges
|
2563
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ResourceLimits.html
|
2564
|
+
# [3]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html#sagemaker-Type-HyperParameterTuningJobConfig-TrainingJobEarlyStoppingType
|
2565
|
+
# [4]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTrainingJobDefinition.html#sagemaker-Type-HyperParameterTrainingJobDefinition-RetryStrategy
|
2566
|
+
# [5]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html
|
2567
|
+
# [6]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ConvergenceDetected.html
|
2568
|
+
#
|
2569
|
+
# @!attribute [rw] mode
|
2570
|
+
# Set `Mode` to `Enabled` if you want to use Autotune.
|
2571
|
+
# @return [String]
|
2572
|
+
#
|
2573
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Autotune AWS API Documentation
|
2574
|
+
#
|
2575
|
+
class Autotune < Struct.new(
|
2576
|
+
:mode)
|
2577
|
+
SENSITIVE = []
|
2578
|
+
include Aws::Structure
|
2579
|
+
end
|
2580
|
+
|
2514
2581
|
# Configuration to control how SageMaker captures inference data for
|
2515
2582
|
# batch transform jobs.
|
2516
2583
|
#
|
@@ -5790,6 +5857,41 @@ module Aws::SageMaker
|
|
5790
5857
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
5791
5858
|
# @return [Array<Types::Tag>]
|
5792
5859
|
#
|
5860
|
+
# @!attribute [rw] autotune
|
5861
|
+
# Configures SageMaker Automatic model tuning (AMT) to automatically
|
5862
|
+
# find optimal parameters for the following fields:
|
5863
|
+
#
|
5864
|
+
# * [ParameterRanges][1]: The names and ranges of parameters that a
|
5865
|
+
# hyperparameter tuning job can optimize.
|
5866
|
+
#
|
5867
|
+
# * [ResourceLimits][2]: The maximum resources that can be used for a
|
5868
|
+
# training job. These resources include the maximum number of
|
5869
|
+
# training jobs, the maximum runtime of a tuning job, and the
|
5870
|
+
# maximum number of training jobs to run at the same time.
|
5871
|
+
#
|
5872
|
+
# * [TrainingJobEarlyStoppingType][3]: A flag that specifies whether
|
5873
|
+
# or not to use early stopping for training jobs launched by a
|
5874
|
+
# hyperparameter tuning job.
|
5875
|
+
#
|
5876
|
+
# * [RetryStrategy][4]: The number of times to retry a training job.
|
5877
|
+
#
|
5878
|
+
# * [Strategy][5]: Specifies how hyperparameter tuning chooses the
|
5879
|
+
# combinations of hyperparameter values to use for the training jobs
|
5880
|
+
# that it launches.
|
5881
|
+
#
|
5882
|
+
# * [ConvergenceDetected][6]: A flag to indicate that Automatic model
|
5883
|
+
# tuning (AMT) has detected model convergence.
|
5884
|
+
#
|
5885
|
+
#
|
5886
|
+
#
|
5887
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html#sagemaker-Type-HyperParameterTuningJobConfig-ParameterRanges
|
5888
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ResourceLimits.html
|
5889
|
+
# [3]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html#sagemaker-Type-HyperParameterTuningJobConfig-TrainingJobEarlyStoppingType
|
5890
|
+
# [4]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTrainingJobDefinition.html#sagemaker-Type-HyperParameterTrainingJobDefinition-RetryStrategy
|
5891
|
+
# [5]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html
|
5892
|
+
# [6]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ConvergenceDetected.html
|
5893
|
+
# @return [Types::Autotune]
|
5894
|
+
#
|
5793
5895
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHyperParameterTuningJobRequest AWS API Documentation
|
5794
5896
|
#
|
5795
5897
|
class CreateHyperParameterTuningJobRequest < Struct.new(
|
@@ -5798,7 +5900,8 @@ module Aws::SageMaker
|
|
5798
5900
|
:training_job_definition,
|
5799
5901
|
:training_job_definitions,
|
5800
5902
|
:warm_start_config,
|
5801
|
-
:tags
|
5903
|
+
:tags,
|
5904
|
+
:autotune)
|
5802
5905
|
SENSITIVE = []
|
5803
5906
|
include Aws::Structure
|
5804
5907
|
end
|
@@ -12314,7 +12417,7 @@ module Aws::SageMaker
|
|
12314
12417
|
end
|
12315
12418
|
|
12316
12419
|
# @!attribute [rw] hyper_parameter_tuning_job_name
|
12317
|
-
# The name of the tuning job.
|
12420
|
+
# The name of the hyperparameter tuning job.
|
12318
12421
|
# @return [String]
|
12319
12422
|
#
|
12320
12423
|
# @!attribute [rw] hyper_parameter_tuning_job_arn
|
@@ -12432,6 +12535,11 @@ module Aws::SageMaker
|
|
12432
12535
|
# The total resources consumed by your hyperparameter tuning job.
|
12433
12536
|
# @return [Types::HyperParameterTuningJobConsumedResources]
|
12434
12537
|
#
|
12538
|
+
# @!attribute [rw] autotune
|
12539
|
+
# A flag to indicate if autotune is enabled for the hyperparameter
|
12540
|
+
# tuning job.
|
12541
|
+
# @return [Types::Autotune]
|
12542
|
+
#
|
12435
12543
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJobResponse AWS API Documentation
|
12436
12544
|
#
|
12437
12545
|
class DescribeHyperParameterTuningJobResponse < Struct.new(
|
@@ -12451,7 +12559,8 @@ module Aws::SageMaker
|
|
12451
12559
|
:warm_start_config,
|
12452
12560
|
:failure_reason,
|
12453
12561
|
:tuning_job_completion_details,
|
12454
|
-
:consumed_resources
|
12562
|
+
:consumed_resources,
|
12563
|
+
:autotune)
|
12455
12564
|
SENSITIVE = []
|
12456
12565
|
include Aws::Structure
|
12457
12566
|
end
|
@@ -31057,12 +31166,18 @@ module Aws::SageMaker
|
|
31057
31166
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CategoricalParameterRange.html
|
31058
31167
|
# @return [Array<Types::CategoricalParameterRange>]
|
31059
31168
|
#
|
31169
|
+
# @!attribute [rw] auto_parameters
|
31170
|
+
# A list containing hyperparameter names and example values to be used
|
31171
|
+
# by Autotune to determine optimal ranges for your tuning job.
|
31172
|
+
# @return [Array<Types::AutoParameter>]
|
31173
|
+
#
|
31060
31174
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ParameterRanges AWS API Documentation
|
31061
31175
|
#
|
31062
31176
|
class ParameterRanges < Struct.new(
|
31063
31177
|
:integer_parameter_ranges,
|
31064
31178
|
:continuous_parameter_ranges,
|
31065
|
-
:categorical_parameter_ranges
|
31179
|
+
:categorical_parameter_ranges,
|
31180
|
+
:auto_parameters)
|
31066
31181
|
SENSITIVE = []
|
31067
31182
|
include Aws::Structure
|
31068
31183
|
end
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
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.
|
4
|
+
version: 1.181.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-05-
|
11
|
+
date: 2023-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|