| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.SageMaker.Types.TrainingSpecification
Description
Synopsis
- data TrainingSpecification = TrainingSpecification' {
- metricDefinitions :: Maybe [MetricDefinition]
 - supportedHyperParameters :: Maybe [HyperParameterSpecification]
 - supportedTuningJobObjectiveMetrics :: Maybe [HyperParameterTuningJobObjective]
 - supportsDistributedTraining :: Maybe Bool
 - trainingImageDigest :: Maybe Text
 - trainingImage :: Text
 - supportedTrainingInstanceTypes :: [TrainingInstanceType]
 - trainingChannels :: NonEmpty ChannelSpecification
 
 - newTrainingSpecification :: Text -> NonEmpty ChannelSpecification -> TrainingSpecification
 - trainingSpecification_metricDefinitions :: Lens' TrainingSpecification (Maybe [MetricDefinition])
 - trainingSpecification_supportedHyperParameters :: Lens' TrainingSpecification (Maybe [HyperParameterSpecification])
 - trainingSpecification_supportedTuningJobObjectiveMetrics :: Lens' TrainingSpecification (Maybe [HyperParameterTuningJobObjective])
 - trainingSpecification_supportsDistributedTraining :: Lens' TrainingSpecification (Maybe Bool)
 - trainingSpecification_trainingImageDigest :: Lens' TrainingSpecification (Maybe Text)
 - trainingSpecification_trainingImage :: Lens' TrainingSpecification Text
 - trainingSpecification_supportedTrainingInstanceTypes :: Lens' TrainingSpecification [TrainingInstanceType]
 - trainingSpecification_trainingChannels :: Lens' TrainingSpecification (NonEmpty ChannelSpecification)
 
Documentation
data TrainingSpecification Source #
Defines how the algorithm is used for a training job.
See: newTrainingSpecification smart constructor.
Constructors
| TrainingSpecification' | |
Fields 
  | |
Instances
newTrainingSpecification Source #
Arguments
| :: Text | |
| -> NonEmpty ChannelSpecification | |
| -> TrainingSpecification | 
Create a value of TrainingSpecification with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:metricDefinitions:TrainingSpecification', trainingSpecification_metricDefinitions - A list of MetricDefinition objects, which are used for parsing metrics
 generated by the algorithm.
$sel:supportedHyperParameters:TrainingSpecification', trainingSpecification_supportedHyperParameters - A list of the HyperParameterSpecification objects, that define the
 supported hyperparameters. This is required if the algorithm supports
 automatic model tuning.>
$sel:supportedTuningJobObjectiveMetrics:TrainingSpecification', trainingSpecification_supportedTuningJobObjectiveMetrics - A list of the metrics that the algorithm emits that can be used as the
 objective metric in a hyperparameter tuning job.
$sel:supportsDistributedTraining:TrainingSpecification', trainingSpecification_supportsDistributedTraining - Indicates whether the algorithm supports distributed training. If set to
 false, buyers can't request more than one instance during training.
$sel:trainingImageDigest:TrainingSpecification', trainingSpecification_trainingImageDigest - An MD5 hash of the training algorithm that identifies the Docker image
 used for training.
$sel:trainingImage:TrainingSpecification', trainingSpecification_trainingImage - The Amazon ECR registry path of the Docker image that contains the
 training algorithm.
$sel:supportedTrainingInstanceTypes:TrainingSpecification', trainingSpecification_supportedTrainingInstanceTypes - A list of the instance types that this algorithm can use for training.
$sel:trainingChannels:TrainingSpecification', trainingSpecification_trainingChannels - A list of ChannelSpecification objects, which specify the input
 sources to be used by the algorithm.
trainingSpecification_metricDefinitions :: Lens' TrainingSpecification (Maybe [MetricDefinition]) Source #
A list of MetricDefinition objects, which are used for parsing metrics
 generated by the algorithm.
trainingSpecification_supportedHyperParameters :: Lens' TrainingSpecification (Maybe [HyperParameterSpecification]) Source #
A list of the HyperParameterSpecification objects, that define the
 supported hyperparameters. This is required if the algorithm supports
 automatic model tuning.>
trainingSpecification_supportedTuningJobObjectiveMetrics :: Lens' TrainingSpecification (Maybe [HyperParameterTuningJobObjective]) Source #
A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.
trainingSpecification_supportsDistributedTraining :: Lens' TrainingSpecification (Maybe Bool) Source #
Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more than one instance during training.
trainingSpecification_trainingImageDigest :: Lens' TrainingSpecification (Maybe Text) Source #
An MD5 hash of the training algorithm that identifies the Docker image used for training.
trainingSpecification_trainingImage :: Lens' TrainingSpecification Text Source #
The Amazon ECR registry path of the Docker image that contains the training algorithm.
trainingSpecification_supportedTrainingInstanceTypes :: Lens' TrainingSpecification [TrainingInstanceType] Source #
A list of the instance types that this algorithm can use for training.
trainingSpecification_trainingChannels :: Lens' TrainingSpecification (NonEmpty ChannelSpecification) Source #
A list of ChannelSpecification objects, which specify the input
 sources to be used by the algorithm.