Builder

class Builder

Properties

Link copied to clipboard

The registry path of the Docker image that contains the training algorithm and algorithm-specific metadata, including the input mode. For more information about algorithms provided by SageMaker, see Algorithms. For information about providing your own algorithms, see Using Your Own Algorithms with Amazon SageMaker.

Link copied to clipboard

Contains information about the output location for managed spot training checkpoint data.

Link copied to clipboard

Configuration information for the Amazon SageMaker Debugger hook parameters, metric and tensor collections, and storage paths. To learn more about how to configure the DebugHookConfig parameter, see Use the SageMaker and Debugger Configuration API Operations to Create, Update, and Debug Your Training Job.

Link copied to clipboard

Configuration information for Amazon SageMaker Debugger rules for debugging output tensors.

Link copied to clipboard

To encrypt all communications between ML compute instances in distributed training, choose True. Encryption provides greater security for distributed training, but training might take longer. How long it takes depends on the amount of communication between compute instances, especially if you use a deep learning algorithm in distributed training. For more information, see Protect Communications Between ML Compute Instances in a Distributed Training Job.

Link copied to clipboard

To train models using managed spot training, choose True. Managed spot training provides a fully managed and scalable infrastructure for training machine learning models. this option is useful when training jobs can be interrupted and when there is flexibility when the training job is run.

Link copied to clipboard

Isolates the training container. No inbound or outbound network calls can be made, except for calls between peers within a training cluster for distributed training. If you enable network isolation for training jobs that are configured to use a VPC, SageMaker downloads and uploads customer data and model artifacts through the specified VPC, but the training container does not have network access.

Link copied to clipboard

The environment variables to set in the Docker container.

Link copied to clipboard

Associates a SageMaker job as a trial component with an experiment and trial. Specified when you call the following APIs:

Link copied to clipboard

Algorithm-specific parameters that influence the quality of the model. You set hyperparameters before you start the learning process. For a list of hyperparameters for each training algorithm provided by SageMaker, see Algorithms.

Link copied to clipboard

Contains information about the infrastructure health check configuration for the training job.

Link copied to clipboard

An array of Channel objects. Each channel is a named input source. InputDataConfig describes the input data and its location.

Link copied to clipboard

Specifies the path to the S3 location where you want to store model artifacts. SageMaker creates subfolders for the artifacts.

Link copied to clipboard

Configuration information for Amazon SageMaker Debugger system monitoring, framework profiling, and storage paths.

Link copied to clipboard

Configuration information for Amazon SageMaker Debugger rules for profiling system and framework metrics.

Link copied to clipboard

Configuration for remote debugging. To learn more about the remote debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM) for remote debugging.

Link copied to clipboard

The resources, including the ML compute instances and ML storage volumes, to use for model training.

Link copied to clipboard

The number of times to retry the job when the job fails due to an InternalServerError.

Link copied to clipboard

The Amazon Resource Name (ARN) of an IAM role that SageMaker can assume to perform tasks on your behalf.

Link copied to clipboard

Contains information about attribute-based access control (ABAC) for the training job.

Link copied to clipboard

Specifies a limit to how long a model training job can run. It also specifies how long a managed Spot training job has to complete. When the job reaches the time limit, SageMaker ends the training job. Use this API to cap model training costs.

Link copied to clipboard
var tags: List<Tag>?

An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.

Link copied to clipboard

Configuration of storage locations for the Amazon SageMaker Debugger TensorBoard output data.

Link copied to clipboard

The name of the training job. The name must be unique within an Amazon Web Services Region in an Amazon Web Services account.

Link copied to clipboard

A VpcConfig object that specifies the VPC that you want your training job to connect to. Control access to and from your training container by configuring the VPC. For more information, see Protect Training Jobs by Using an Amazon Virtual Private Cloud.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard