libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.Types.TrainingJob

Description

 
Synopsis

Documentation

data TrainingJob Source #

Contains information about a training job.

See: newTrainingJob smart constructor.

Constructors

TrainingJob' 

Fields

  • creationTime :: Maybe POSIX

    A timestamp that indicates when the training job was created.

  • labelingJobArn :: Maybe Text

    The Amazon Resource Name (ARN) of the labeling job.

  • failureReason :: Maybe Text

    If the training job failed, the reason it failed.

  • secondaryStatusTransitions :: Maybe [SecondaryStatusTransition]

    A history of all of the secondary statuses that the training job has transitioned through.

  • modelArtifacts :: Maybe ModelArtifacts

    Information about the Amazon S3 location that is configured for storing model artifacts.

  • trainingEndTime :: Maybe POSIX

    Indicates the time when the training job ends on training instances. You are billed for the time interval between the value of TrainingStartTime and this time. For successful jobs and stopped jobs, this is the time after model artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker detects a job failure.

  • environment :: Maybe (HashMap Text Text)

    The environment variables to set in the Docker container.

  • billableTimeInSeconds :: Maybe Natural

    The billable time in seconds.

  • debugHookConfig :: Maybe DebugHookConfig
     
  • checkpointConfig :: Maybe CheckpointConfig
     
  • retryStrategy :: Maybe RetryStrategy

    The number of times to retry the job when the job fails due to an InternalServerError.

  • stoppingCondition :: Maybe StoppingCondition

    Specifies a limit to how long a model training job can run. It also specifies how long a managed Spot training job has to complete. When the job reaches the time limit, Amazon SageMaker ends the training job. Use this API to cap model training costs.

    To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost.

  • debugRuleEvaluationStatuses :: Maybe [DebugRuleEvaluationStatus]

    Information about the evaluation status of the rules for the training job.

  • trainingJobStatus :: Maybe TrainingJobStatus

    The status of the training job.

    Training job statuses are:

    • InProgress - The training is in progress.
    • Completed - The training job has completed.
    • Failed - The training job has failed. To see the reason for the failure, see the FailureReason field in the response to a DescribeTrainingJobResponse call.
    • Stopping - The training job is stopping.
    • Stopped - The training job has stopped.

    For more detailed information, see SecondaryStatus.

  • enableNetworkIsolation :: Maybe Bool

    If the TrainingJob was created with network isolation, the value is set to true. If network isolation is enabled, nodes can't communicate beyond the VPC they run in.

  • experimentConfig :: Maybe ExperimentConfig
     
  • lastModifiedTime :: Maybe POSIX

    A timestamp that indicates when the status of the training job was last modified.

  • debugRuleConfigurations :: Maybe [DebugRuleConfiguration]

    Information about the debug rule configuration.

  • enableManagedSpotTraining :: Maybe Bool

    When true, enables managed spot training using Amazon EC2 Spot instances to run training jobs instead of on-demand instances. For more information, see Managed Spot Training.

  • autoMLJobArn :: Maybe Text

    The Amazon Resource Name (ARN) of the job.

  • hyperParameters :: Maybe (HashMap Text Text)

    Algorithm-specific parameters.

  • inputDataConfig :: Maybe (NonEmpty Channel)

    An array of Channel objects that describes each data input channel.

  • vpcConfig :: Maybe VpcConfig

    A VpcConfig object that specifies the VPC that this training job has access to. For more information, see Protect Training Jobs by Using an Amazon Virtual Private Cloud.

  • trainingJobArn :: Maybe Text

    The Amazon Resource Name (ARN) of the training job.

  • algorithmSpecification :: Maybe AlgorithmSpecification

    Information about the algorithm used for training, and algorithm metadata.

  • finalMetricDataList :: Maybe [MetricData]

    A list of final metric values that are set when the training job completes. Used only if the training job was configured to use metrics.

  • outputDataConfig :: Maybe OutputDataConfig

    The S3 path where model artifacts that you configured when creating the job are stored. Amazon SageMaker creates subfolders for model artifacts.

  • trainingStartTime :: Maybe POSIX

    Indicates the time when the training job starts on training instances. You are billed for the time interval between this time and the value of TrainingEndTime. The start time in CloudWatch Logs might be later than this time. The difference is due to the time it takes to download the training data and to the size of the training container.

  • tuningJobArn :: Maybe Text

    The Amazon Resource Name (ARN) of the associated hyperparameter tuning job if the training job was launched by a hyperparameter tuning job.

  • trainingJobName :: Maybe Text

    The name of the training job.

  • resourceConfig :: Maybe ResourceConfig

    Resources, including ML compute instances and ML storage volumes, that are configured for model training.

  • enableInterContainerTrafficEncryption :: Maybe Bool

    To encrypt all communications between ML compute instances in distributed training, choose True. Encryption provides greater security for distributed training, but training might take longer. How long it takes depends on the amount of communication between compute instances, especially if you use a deep learning algorithm in distributed training.

  • tensorBoardOutputConfig :: Maybe TensorBoardOutputConfig
     
  • secondaryStatus :: Maybe SecondaryStatus

    Provides detailed information about the state of the training job. For detailed information about the secondary status of the training job, see StatusMessage under SecondaryStatusTransition.

    Amazon SageMaker provides primary statuses and secondary statuses that apply to each of them:

    InProgress
    - Starting - Starting the training job.
    • Downloading - An optional stage for algorithms that support File training input mode. It indicates that data is being downloaded to the ML storage volumes.
    • Training - Training is in progress.
    • Uploading - Training is complete and the model artifacts are being uploaded to the S3 location.
    Completed
    - Completed - The training job has completed.
    Failed
    - Failed - The training job has failed. The reason for the failure is returned in the FailureReason field of DescribeTrainingJobResponse.
    Stopped
    - MaxRuntimeExceeded - The job stopped because it exceeded the maximum allowed runtime.
    • Stopped - The training job has stopped.
    Stopping
    - Stopping - Stopping the training job.

    Valid values for SecondaryStatus are subject to change.

    We no longer support the following secondary statuses:

    • LaunchingMLInstances
    • PreparingTrainingStack
    • DownloadingTrainingImage
  • tags :: Maybe [Tag]

    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.

  • trainingTimeInSeconds :: Maybe Natural

    The training time in seconds.

  • roleArn :: Maybe Text

    The Amazon Web Services Identity and Access Management (IAM) role configured for the training job.

Instances

Instances details
Eq TrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrainingJob

Read TrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrainingJob

Show TrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrainingJob

Generic TrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrainingJob

Associated Types

type Rep TrainingJob :: Type -> Type #

NFData TrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrainingJob

Methods

rnf :: TrainingJob -> () #

Hashable TrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrainingJob

FromJSON TrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrainingJob

type Rep TrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.Types.TrainingJob

type Rep TrainingJob = D1 ('MetaData "TrainingJob" "Amazonka.SageMaker.Types.TrainingJob" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "TrainingJob'" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "labelingJobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "failureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secondaryStatusTransitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SecondaryStatusTransition])))) :*: ((S1 ('MetaSel ('Just "modelArtifacts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelArtifacts)) :*: S1 ('MetaSel ('Just "trainingEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "environment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "billableTimeInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "debugHookConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DebugHookConfig)))))) :*: (((S1 ('MetaSel ('Just "checkpointConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CheckpointConfig)) :*: S1 ('MetaSel ('Just "retryStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetryStrategy))) :*: (S1 ('MetaSel ('Just "stoppingCondition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StoppingCondition)) :*: S1 ('MetaSel ('Just "debugRuleEvaluationStatuses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DebugRuleEvaluationStatus])))) :*: ((S1 ('MetaSel ('Just "trainingJobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrainingJobStatus)) :*: S1 ('MetaSel ('Just "enableNetworkIsolation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "experimentConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExperimentConfig)) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "debugRuleConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DebugRuleConfiguration]))))))) :*: ((((S1 ('MetaSel ('Just "enableManagedSpotTraining") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "autoMLJobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "hyperParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Channel))))) :*: ((S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig)) :*: S1 ('MetaSel ('Just "trainingJobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "algorithmSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AlgorithmSpecification)) :*: (S1 ('MetaSel ('Just "finalMetricDataList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricData])) :*: S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig)))))) :*: (((S1 ('MetaSel ('Just "trainingStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "tuningJobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "trainingJobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceConfig)) :*: S1 ('MetaSel ('Just "enableInterContainerTrafficEncryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "tensorBoardOutputConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TensorBoardOutputConfig)) :*: S1 ('MetaSel ('Just "secondaryStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SecondaryStatus))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "trainingTimeInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))))

newTrainingJob :: TrainingJob Source #

Create a value of TrainingJob 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:creationTime:TrainingJob', trainingJob_creationTime - A timestamp that indicates when the training job was created.

$sel:labelingJobArn:TrainingJob', trainingJob_labelingJobArn - The Amazon Resource Name (ARN) of the labeling job.

$sel:failureReason:TrainingJob', trainingJob_failureReason - If the training job failed, the reason it failed.

$sel:secondaryStatusTransitions:TrainingJob', trainingJob_secondaryStatusTransitions - A history of all of the secondary statuses that the training job has transitioned through.

$sel:modelArtifacts:TrainingJob', trainingJob_modelArtifacts - Information about the Amazon S3 location that is configured for storing model artifacts.

$sel:trainingEndTime:TrainingJob', trainingJob_trainingEndTime - Indicates the time when the training job ends on training instances. You are billed for the time interval between the value of TrainingStartTime and this time. For successful jobs and stopped jobs, this is the time after model artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker detects a job failure.

$sel:environment:TrainingJob', trainingJob_environment - The environment variables to set in the Docker container.

$sel:billableTimeInSeconds:TrainingJob', trainingJob_billableTimeInSeconds - The billable time in seconds.

$sel:debugHookConfig:TrainingJob', trainingJob_debugHookConfig - Undocumented member.

$sel:checkpointConfig:TrainingJob', trainingJob_checkpointConfig - Undocumented member.

$sel:retryStrategy:TrainingJob', trainingJob_retryStrategy - The number of times to retry the job when the job fails due to an InternalServerError.

$sel:stoppingCondition:TrainingJob', trainingJob_stoppingCondition - Specifies a limit to how long a model training job can run. It also specifies how long a managed Spot training job has to complete. When the job reaches the time limit, Amazon SageMaker ends the training job. Use this API to cap model training costs.

To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost.

$sel:debugRuleEvaluationStatuses:TrainingJob', trainingJob_debugRuleEvaluationStatuses - Information about the evaluation status of the rules for the training job.

$sel:trainingJobStatus:TrainingJob', trainingJob_trainingJobStatus - The status of the training job.

Training job statuses are:

  • InProgress - The training is in progress.
  • Completed - The training job has completed.
  • Failed - The training job has failed. To see the reason for the failure, see the FailureReason field in the response to a DescribeTrainingJobResponse call.
  • Stopping - The training job is stopping.
  • Stopped - The training job has stopped.

For more detailed information, see SecondaryStatus.

$sel:enableNetworkIsolation:TrainingJob', trainingJob_enableNetworkIsolation - If the TrainingJob was created with network isolation, the value is set to true. If network isolation is enabled, nodes can't communicate beyond the VPC they run in.

$sel:experimentConfig:TrainingJob', trainingJob_experimentConfig - Undocumented member.

$sel:lastModifiedTime:TrainingJob', trainingJob_lastModifiedTime - A timestamp that indicates when the status of the training job was last modified.

$sel:debugRuleConfigurations:TrainingJob', trainingJob_debugRuleConfigurations - Information about the debug rule configuration.

$sel:enableManagedSpotTraining:TrainingJob', trainingJob_enableManagedSpotTraining - When true, enables managed spot training using Amazon EC2 Spot instances to run training jobs instead of on-demand instances. For more information, see Managed Spot Training.

$sel:autoMLJobArn:TrainingJob', trainingJob_autoMLJobArn - The Amazon Resource Name (ARN) of the job.

$sel:hyperParameters:TrainingJob', trainingJob_hyperParameters - Algorithm-specific parameters.

$sel:inputDataConfig:TrainingJob', trainingJob_inputDataConfig - An array of Channel objects that describes each data input channel.

$sel:vpcConfig:TrainingJob', trainingJob_vpcConfig - A VpcConfig object that specifies the VPC that this training job has access to. For more information, see Protect Training Jobs by Using an Amazon Virtual Private Cloud.

$sel:trainingJobArn:TrainingJob', trainingJob_trainingJobArn - The Amazon Resource Name (ARN) of the training job.

$sel:algorithmSpecification:TrainingJob', trainingJob_algorithmSpecification - Information about the algorithm used for training, and algorithm metadata.

$sel:finalMetricDataList:TrainingJob', trainingJob_finalMetricDataList - A list of final metric values that are set when the training job completes. Used only if the training job was configured to use metrics.

$sel:outputDataConfig:TrainingJob', trainingJob_outputDataConfig - The S3 path where model artifacts that you configured when creating the job are stored. Amazon SageMaker creates subfolders for model artifacts.

$sel:trainingStartTime:TrainingJob', trainingJob_trainingStartTime - Indicates the time when the training job starts on training instances. You are billed for the time interval between this time and the value of TrainingEndTime. The start time in CloudWatch Logs might be later than this time. The difference is due to the time it takes to download the training data and to the size of the training container.

$sel:tuningJobArn:TrainingJob', trainingJob_tuningJobArn - The Amazon Resource Name (ARN) of the associated hyperparameter tuning job if the training job was launched by a hyperparameter tuning job.

$sel:trainingJobName:TrainingJob', trainingJob_trainingJobName - The name of the training job.

$sel:resourceConfig:TrainingJob', trainingJob_resourceConfig - Resources, including ML compute instances and ML storage volumes, that are configured for model training.

$sel:enableInterContainerTrafficEncryption:TrainingJob', trainingJob_enableInterContainerTrafficEncryption - To encrypt all communications between ML compute instances in distributed training, choose True. Encryption provides greater security for distributed training, but training might take longer. How long it takes depends on the amount of communication between compute instances, especially if you use a deep learning algorithm in distributed training.

$sel:tensorBoardOutputConfig:TrainingJob', trainingJob_tensorBoardOutputConfig - Undocumented member.

$sel:secondaryStatus:TrainingJob', trainingJob_secondaryStatus - Provides detailed information about the state of the training job. For detailed information about the secondary status of the training job, see StatusMessage under SecondaryStatusTransition.

Amazon SageMaker provides primary statuses and secondary statuses that apply to each of them:

InProgress
- Starting - Starting the training job.
  • Downloading - An optional stage for algorithms that support File training input mode. It indicates that data is being downloaded to the ML storage volumes.
  • Training - Training is in progress.
  • Uploading - Training is complete and the model artifacts are being uploaded to the S3 location.
Completed
- Completed - The training job has completed.
Failed
- Failed - The training job has failed. The reason for the failure is returned in the FailureReason field of DescribeTrainingJobResponse.
Stopped
- MaxRuntimeExceeded - The job stopped because it exceeded the maximum allowed runtime.
  • Stopped - The training job has stopped.
Stopping
- Stopping - Stopping the training job.

Valid values for SecondaryStatus are subject to change.

We no longer support the following secondary statuses:

  • LaunchingMLInstances
  • PreparingTrainingStack
  • DownloadingTrainingImage

$sel:tags:TrainingJob', trainingJob_tags - 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.

$sel:trainingTimeInSeconds:TrainingJob', trainingJob_trainingTimeInSeconds - The training time in seconds.

$sel:roleArn:TrainingJob', trainingJob_roleArn - The Amazon Web Services Identity and Access Management (IAM) role configured for the training job.

trainingJob_creationTime :: Lens' TrainingJob (Maybe UTCTime) Source #

A timestamp that indicates when the training job was created.

trainingJob_labelingJobArn :: Lens' TrainingJob (Maybe Text) Source #

The Amazon Resource Name (ARN) of the labeling job.

trainingJob_failureReason :: Lens' TrainingJob (Maybe Text) Source #

If the training job failed, the reason it failed.

trainingJob_secondaryStatusTransitions :: Lens' TrainingJob (Maybe [SecondaryStatusTransition]) Source #

A history of all of the secondary statuses that the training job has transitioned through.

trainingJob_modelArtifacts :: Lens' TrainingJob (Maybe ModelArtifacts) Source #

Information about the Amazon S3 location that is configured for storing model artifacts.

trainingJob_trainingEndTime :: Lens' TrainingJob (Maybe UTCTime) Source #

Indicates the time when the training job ends on training instances. You are billed for the time interval between the value of TrainingStartTime and this time. For successful jobs and stopped jobs, this is the time after model artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker detects a job failure.

trainingJob_environment :: Lens' TrainingJob (Maybe (HashMap Text Text)) Source #

The environment variables to set in the Docker container.

trainingJob_retryStrategy :: Lens' TrainingJob (Maybe RetryStrategy) Source #

The number of times to retry the job when the job fails due to an InternalServerError.

trainingJob_stoppingCondition :: Lens' TrainingJob (Maybe StoppingCondition) Source #

Specifies a limit to how long a model training job can run. It also specifies how long a managed Spot training job has to complete. When the job reaches the time limit, Amazon SageMaker ends the training job. Use this API to cap model training costs.

To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost.

trainingJob_debugRuleEvaluationStatuses :: Lens' TrainingJob (Maybe [DebugRuleEvaluationStatus]) Source #

Information about the evaluation status of the rules for the training job.

trainingJob_trainingJobStatus :: Lens' TrainingJob (Maybe TrainingJobStatus) Source #

The status of the training job.

Training job statuses are:

  • InProgress - The training is in progress.
  • Completed - The training job has completed.
  • Failed - The training job has failed. To see the reason for the failure, see the FailureReason field in the response to a DescribeTrainingJobResponse call.
  • Stopping - The training job is stopping.
  • Stopped - The training job has stopped.

For more detailed information, see SecondaryStatus.

trainingJob_enableNetworkIsolation :: Lens' TrainingJob (Maybe Bool) Source #

If the TrainingJob was created with network isolation, the value is set to true. If network isolation is enabled, nodes can't communicate beyond the VPC they run in.

trainingJob_lastModifiedTime :: Lens' TrainingJob (Maybe UTCTime) Source #

A timestamp that indicates when the status of the training job was last modified.

trainingJob_debugRuleConfigurations :: Lens' TrainingJob (Maybe [DebugRuleConfiguration]) Source #

Information about the debug rule configuration.

trainingJob_enableManagedSpotTraining :: Lens' TrainingJob (Maybe Bool) Source #

When true, enables managed spot training using Amazon EC2 Spot instances to run training jobs instead of on-demand instances. For more information, see Managed Spot Training.

trainingJob_autoMLJobArn :: Lens' TrainingJob (Maybe Text) Source #

The Amazon Resource Name (ARN) of the job.

trainingJob_inputDataConfig :: Lens' TrainingJob (Maybe (NonEmpty Channel)) Source #

An array of Channel objects that describes each data input channel.

trainingJob_vpcConfig :: Lens' TrainingJob (Maybe VpcConfig) Source #

A VpcConfig object that specifies the VPC that this training job has access to. For more information, see Protect Training Jobs by Using an Amazon Virtual Private Cloud.

trainingJob_trainingJobArn :: Lens' TrainingJob (Maybe Text) Source #

The Amazon Resource Name (ARN) of the training job.

trainingJob_algorithmSpecification :: Lens' TrainingJob (Maybe AlgorithmSpecification) Source #

Information about the algorithm used for training, and algorithm metadata.

trainingJob_finalMetricDataList :: Lens' TrainingJob (Maybe [MetricData]) Source #

A list of final metric values that are set when the training job completes. Used only if the training job was configured to use metrics.

trainingJob_outputDataConfig :: Lens' TrainingJob (Maybe OutputDataConfig) Source #

The S3 path where model artifacts that you configured when creating the job are stored. Amazon SageMaker creates subfolders for model artifacts.

trainingJob_trainingStartTime :: Lens' TrainingJob (Maybe UTCTime) Source #

Indicates the time when the training job starts on training instances. You are billed for the time interval between this time and the value of TrainingEndTime. The start time in CloudWatch Logs might be later than this time. The difference is due to the time it takes to download the training data and to the size of the training container.

trainingJob_tuningJobArn :: Lens' TrainingJob (Maybe Text) Source #

The Amazon Resource Name (ARN) of the associated hyperparameter tuning job if the training job was launched by a hyperparameter tuning job.

trainingJob_trainingJobName :: Lens' TrainingJob (Maybe Text) Source #

The name of the training job.

trainingJob_resourceConfig :: Lens' TrainingJob (Maybe ResourceConfig) Source #

Resources, including ML compute instances and ML storage volumes, that are configured for model training.

trainingJob_enableInterContainerTrafficEncryption :: Lens' TrainingJob (Maybe Bool) Source #

To encrypt all communications between ML compute instances in distributed training, choose True. Encryption provides greater security for distributed training, but training might take longer. How long it takes depends on the amount of communication between compute instances, especially if you use a deep learning algorithm in distributed training.

trainingJob_secondaryStatus :: Lens' TrainingJob (Maybe SecondaryStatus) Source #

Provides detailed information about the state of the training job. For detailed information about the secondary status of the training job, see StatusMessage under SecondaryStatusTransition.

Amazon SageMaker provides primary statuses and secondary statuses that apply to each of them:

InProgress
- Starting - Starting the training job.
  • Downloading - An optional stage for algorithms that support File training input mode. It indicates that data is being downloaded to the ML storage volumes.
  • Training - Training is in progress.
  • Uploading - Training is complete and the model artifacts are being uploaded to the S3 location.
Completed
- Completed - The training job has completed.
Failed
- Failed - The training job has failed. The reason for the failure is returned in the FailureReason field of DescribeTrainingJobResponse.
Stopped
- MaxRuntimeExceeded - The job stopped because it exceeded the maximum allowed runtime.
  • Stopped - The training job has stopped.
Stopping
- Stopping - Stopping the training job.

Valid values for SecondaryStatus are subject to change.

We no longer support the following secondary statuses:

  • LaunchingMLInstances
  • PreparingTrainingStack
  • DownloadingTrainingImage

trainingJob_tags :: Lens' TrainingJob (Maybe [Tag]) Source #

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.

trainingJob_roleArn :: Lens' TrainingJob (Maybe Text) Source #

The Amazon Web Services Identity and Access Management (IAM) role configured for the training job.