Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AlgorithmSpecification

import type { AlgorithmSpecification } from "https://aws-api.deno.dev/v0.4/services/sagemaker.ts?docs=full";

Specifies the training algorithm to use in a "CreateTrainingJob" request.

For more information about algorithms provided by SageMaker, see Algorithms. For information about using your own algorithms, see Using Your Own Algorithms with Amazon SageMaker.

interface AlgorithmSpecification {
AlgorithmName?: string | null;
ContainerArguments?: string[] | null;
ContainerEntrypoint?: string[] | null;
EnableSageMakerMetricsTimeSeries?: boolean | null;
MetricDefinitions?: MetricDefinition[] | null;
TrainingImage?: string | null;
TrainingImageConfig?: TrainingImageConfig | null;
TrainingInputMode: TrainingInputMode;
}

§Properties

§
AlgorithmName?: string | null
[src]

The name of the algorithm resource to use for the training job. This must be an algorithm resource that you created or subscribe to on Amazon Web Services Marketplace.

Note: You must specify either the algorithm name to the AlgorithmName parameter or the image URI of the algorithm container to the TrainingImage parameter. Note that the AlgorithmName parameter is mutually exclusive with the TrainingImage parameter. If you specify a value for the AlgorithmName parameter, you can't specify a value for TrainingImage, and vice versa. If you specify values for both parameters, the training job might break; if you don't specify any value for both parameters, the training job might raise a null error.

§
ContainerArguments?: string[] | null
[src]

The arguments for a container used to run a training job. See How Amazon SageMaker Runs Your Training Image for additional information.

§
ContainerEntrypoint?: string[] | null
[src]

The entrypoint script for a Docker container used to run a training job. This script takes precedence over the default train processing instructions. See How Amazon SageMaker Runs Your Training Image for more information.

§
EnableSageMakerMetricsTimeSeries?: boolean | null
[src]

To generate and save time-series metrics during training, set to true. The default is false and time-series metrics aren't generated except in the following cases:

  • You use one of the SageMaker built-in algorithms
  • You use one of the following Prebuilt SageMaker Docker Images:
    • Tensorflow (version >= 1.15)
    • MXNet (version >= 1.6)
    • PyTorch (version >= 1.3)
  • You specify at least one "MetricDefinition"
§
MetricDefinitions?: MetricDefinition[] | null
[src]

A list of metric definition objects. Each object specifies the metric name and regular expressions used to parse algorithm logs. SageMaker publishes each metric to Amazon CloudWatch.

§
TrainingImage?: string | null
[src]

The registry path of the Docker image that contains the training algorithm. For information about docker registry paths for SageMaker built-in algorithms, see Docker Registry Paths and Example Code in the Amazon SageMaker developer guide. SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information about using your custom training container, see Using Your Own Algorithms with Amazon SageMaker.

Note: You must specify either the algorithm name to the AlgorithmName parameter or the image URI of the algorithm container to the TrainingImage parameter. For more information, see the note in the AlgorithmName parameter description.

§
TrainingImageConfig?: TrainingImageConfig | null
[src]

The configuration to use an image from a private Docker registry for a training job.

§
TrainingInputMode: TrainingInputMode
[src]