HyperParameterAlgorithmSpecification

public struct HyperParameterAlgorithmSpecification : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The name of the resource algorithm to use for the hyperparameter tuning job. If you specify a value for this parameter, do not specify a value for TrainingImage.

    Declaration

    Swift

    public let algorithmName: String?
  • An array of MetricDefinition objects that specify the metrics that the algorithm emits.

    Declaration

    Swift

    public let metricDefinitions: [MetricDefinition]?
  • The registry path of the Docker image that contains the training algorithm. For information about Docker registry paths for built-in algorithms, see Algorithms Provided by Amazon SageMaker: Common Parameters. Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker.

    Declaration

    Swift

    public let trainingImage: String?
  • The input mode that the algorithm supports: File or Pipe. In File input mode, Amazon SageMaker downloads the training data from Amazon S3 to the storage volume that is attached to the training instance and mounts the directory to the Docker volume for the training container. In Pipe input mode, Amazon SageMaker streams data directly from Amazon S3 to the container. If you specify File mode, make sure that you provision the storage volume that is attached to the training instance with enough capacity to accommodate the training data downloaded from Amazon S3, the model artifacts, and intermediate information. For more information about input modes, see Algorithms.

    Declaration

    Swift

    public let trainingInputMode: TrainingInputMode
  • Undocumented

    Declaration

    Swift

    public init(algorithmName: String? = nil, metricDefinitions: [MetricDefinition]? = nil, trainingImage: String? = nil, trainingInputMode: TrainingInputMode)
  • Declaration

    Swift

    public func validate(name: String) throws