Interface TrainingSpecification.Builder

    • Method Detail

      • trainingImage

        TrainingSpecification.Builder trainingImage​(String trainingImage)

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

        Parameters:
        trainingImage - The Amazon ECR registry path of the Docker image that contains the training algorithm.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • trainingImageDigest

        TrainingSpecification.Builder trainingImageDigest​(String trainingImageDigest)

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

        Parameters:
        trainingImageDigest - An MD5 hash of the training algorithm that identifies the Docker image used for training.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedHyperParameters

        TrainingSpecification.Builder supportedHyperParameters​(Collection<HyperParameterSpecification> supportedHyperParameters)

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

        Parameters:
        supportedHyperParameters - A list of the HyperParameterSpecification objects, that define the supported hyperparameters. This is required if the algorithm supports automatic model tuning.>
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedHyperParameters

        TrainingSpecification.Builder supportedHyperParameters​(HyperParameterSpecification... supportedHyperParameters)

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

        Parameters:
        supportedHyperParameters - A list of the HyperParameterSpecification objects, that define the supported hyperparameters. This is required if the algorithm supports automatic model tuning.>
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedTrainingInstanceTypesWithStrings

        TrainingSpecification.Builder supportedTrainingInstanceTypesWithStrings​(Collection<String> supportedTrainingInstanceTypes)

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

        Parameters:
        supportedTrainingInstanceTypes - A list of the instance types that this algorithm can use for training.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedTrainingInstanceTypesWithStrings

        TrainingSpecification.Builder supportedTrainingInstanceTypesWithStrings​(String... supportedTrainingInstanceTypes)

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

        Parameters:
        supportedTrainingInstanceTypes - A list of the instance types that this algorithm can use for training.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedTrainingInstanceTypes

        TrainingSpecification.Builder supportedTrainingInstanceTypes​(Collection<TrainingInstanceType> supportedTrainingInstanceTypes)

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

        Parameters:
        supportedTrainingInstanceTypes - A list of the instance types that this algorithm can use for training.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedTrainingInstanceTypes

        TrainingSpecification.Builder supportedTrainingInstanceTypes​(TrainingInstanceType... supportedTrainingInstanceTypes)

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

        Parameters:
        supportedTrainingInstanceTypes - A list of the instance types that this algorithm can use for training.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportsDistributedTraining

        TrainingSpecification.Builder supportsDistributedTraining​(Boolean supportsDistributedTraining)

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

        Parameters:
        supportsDistributedTraining - Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more than one instance during training.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricDefinitions

        TrainingSpecification.Builder metricDefinitions​(Collection<MetricDefinition> metricDefinitions)

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

        Parameters:
        metricDefinitions - A list of MetricDefinition objects, which are used for parsing metrics generated by the algorithm.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricDefinitions

        TrainingSpecification.Builder metricDefinitions​(MetricDefinition... metricDefinitions)

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

        Parameters:
        metricDefinitions - A list of MetricDefinition objects, which are used for parsing metrics generated by the algorithm.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • trainingChannels

        TrainingSpecification.Builder trainingChannels​(Collection<ChannelSpecification> trainingChannels)

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

        Parameters:
        trainingChannels - A list of ChannelSpecification objects, which specify the input sources to be used by the algorithm.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • trainingChannels

        TrainingSpecification.Builder trainingChannels​(ChannelSpecification... trainingChannels)

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

        Parameters:
        trainingChannels - A list of ChannelSpecification objects, which specify the input sources to be used by the algorithm.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedTuningJobObjectiveMetrics

        TrainingSpecification.Builder supportedTuningJobObjectiveMetrics​(Collection<HyperParameterTuningJobObjective> supportedTuningJobObjectiveMetrics)

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

        Parameters:
        supportedTuningJobObjectiveMetrics - A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedTuningJobObjectiveMetrics

        TrainingSpecification.Builder supportedTuningJobObjectiveMetrics​(HyperParameterTuningJobObjective... supportedTuningJobObjectiveMetrics)

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

        Parameters:
        supportedTuningJobObjectiveMetrics - A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • additionalS3DataSource

        TrainingSpecification.Builder additionalS3DataSource​(AdditionalS3DataSource additionalS3DataSource)

        The additional data source used during the training job.

        Parameters:
        additionalS3DataSource - The additional data source used during the training job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.