Skip to content

/AWS1/CL_SGM=>CREATEALGORITHM()

About CreateAlgorithm

Create a machine learning algorithm that you can use in SageMaker and list in the Amazon Web Services Marketplace.

Method Signature

IMPORTING

Required arguments:

IV_ALGORITHMNAME TYPE /AWS1/SGMENTITYNAME /AWS1/SGMENTITYNAME

The name of the algorithm.

IO_TRAININGSPECIFICATION TYPE REF TO /AWS1/CL_SGMTRAININGSPEC /AWS1/CL_SGMTRAININGSPEC

Specifies details about training jobs run by this algorithm, including the following:

  • The Amazon ECR path of the container and the version digest of the algorithm.

  • The hyperparameters that the algorithm supports.

  • The instance types that the algorithm supports for training.

  • Whether the algorithm supports distributed training.

  • The metrics that the algorithm emits to Amazon CloudWatch.

  • Which metrics that the algorithm emits can be used as the objective metric for hyperparameter tuning jobs.

  • The input channels that the algorithm supports for training data. For example, an algorithm might support train, validation, and test channels.

Optional arguments:

IV_ALGORITHMDESCRIPTION TYPE /AWS1/SGMENTITYDESCRIPTION /AWS1/SGMENTITYDESCRIPTION

A description of the algorithm.

IO_INFERENCESPECIFICATION TYPE REF TO /AWS1/CL_SGMINFERENCESPEC /AWS1/CL_SGMINFERENCESPEC

Specifies details about inference jobs that the algorithm runs, including the following:

  • The Amazon ECR paths of containers that contain the inference code and model artifacts.

  • The instance types that the algorithm supports for transform jobs and real-time endpoints used for inference.

  • The input and output content formats that the algorithm supports for inference.

IO_VALIDATIONSPECIFICATION TYPE REF TO /AWS1/CL_SGMALGVALIDATIONSPEC /AWS1/CL_SGMALGVALIDATIONSPEC

Specifies configurations for one or more training jobs and that SageMaker runs to test the algorithm's training code and, optionally, one or more batch transform jobs that SageMaker runs to test the algorithm's inference code.

IV_CERTIFYFORMARKETPLACE TYPE /AWS1/SGMCERTIFYFORMARKETPLACE /AWS1/SGMCERTIFYFORMARKETPLACE

Whether to certify the algorithm so that it can be listed in Amazon Web Services Marketplace.

IT_TAGS TYPE /AWS1/CL_SGMTAG=>TT_TAGLIST TT_TAGLIST

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMCREATEALGOUTPUT /AWS1/CL_SGMCREATEALGOUTPUT