View a markdown version of this page

AWS::SageMaker::Algorithm TrainingSpecification - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::SageMaker::Algorithm TrainingSpecification

Defines how the algorithm is used for a training job.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

Properties

MetricDefinitions

A list of MetricDefinition objects, which are used for parsing metrics generated by the algorithm.

Required: No

Type: Array of MetricDefinition

Maximum: 40

Update requires: Replacement

SupportedHyperParameters

A list of the HyperParameterSpecification objects, that define the supported hyperparameters. This is required if the algorithm supports automatic model tuning.>

Required: No

Type: Array of HyperParameterSpecification

Maximum: 100

Update requires: Replacement

SupportedTrainingInstanceTypes

A list of the instance types that this algorithm can use for training.

Required: Yes

Type: Array of String

Update requires: Replacement

SupportedTuningJobObjectiveMetrics

A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.

Required: No

Type: Array of HyperParameterTuningJobObjective

Update requires: Replacement

SupportsDistributedTraining

Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more than one instance during training.

Required: No

Type: Boolean

Update requires: Replacement

TrainingChannels

A list of ChannelSpecification objects, which specify the input sources to be used by the algorithm.

Required: Yes

Type: Array of ChannelSpecification

Minimum: 1

Maximum: 8

Update requires: Replacement

TrainingImage

The Amazon ECR registry path of the Docker image that contains the training algorithm.

Required: Yes

Type: String

Maximum: 255

Update requires: Replacement

TrainingImageDigest

An MD5 hash of the training algorithm that identifies the Docker image used for training.

Required: No

Type: String

Pattern: ^[Ss][Hh][Aa]256:[0-9a-fA-F]{64}$

Maximum: 72

Update requires: Replacement