TrainingJob class

Contains information about a training job.

Constructors

TrainingJob({AlgorithmSpecification? algorithmSpecification, String? autoMLJobArn, int? billableTimeInSeconds, CheckpointConfig? checkpointConfig, DateTime? creationTime, DebugHookConfig? debugHookConfig, List<DebugRuleConfiguration>? debugRuleConfigurations, List<DebugRuleEvaluationStatus>? debugRuleEvaluationStatuses, bool? enableInterContainerTrafficEncryption, bool? enableManagedSpotTraining, bool? enableNetworkIsolation, ExperimentConfig? experimentConfig, String? failureReason, List<MetricData>? finalMetricDataList, Map<String, String>? hyperParameters, List<Channel>? inputDataConfig, String? labelingJobArn, DateTime? lastModifiedTime, ModelArtifacts? modelArtifacts, OutputDataConfig? outputDataConfig, ResourceConfig? resourceConfig, String? roleArn, SecondaryStatus? secondaryStatus, List<SecondaryStatusTransition>? secondaryStatusTransitions, StoppingCondition? stoppingCondition, List<Tag>? tags, TensorBoardOutputConfig? tensorBoardOutputConfig, DateTime? trainingEndTime, String? trainingJobArn, String? trainingJobName, TrainingJobStatus? trainingJobStatus, DateTime? trainingStartTime, int? trainingTimeInSeconds, String? tuningJobArn, VpcConfig? vpcConfig})
TrainingJob.fromJson(Map<String, dynamic> json)
factory

Properties

algorithmSpecification AlgorithmSpecification?
Information about the algorithm used for training, and algorithm metadata.
final
autoMLJobArn String?
The Amazon Resource Name (ARN) of the job.
final
billableTimeInSeconds int?
The billable time in seconds.
final
checkpointConfig CheckpointConfig?
final
creationTime DateTime?
A timestamp that indicates when the training job was created.
final
debugHookConfig DebugHookConfig?
final
debugRuleConfigurations List<DebugRuleConfiguration>?
Information about the debug rule configuration.
final
debugRuleEvaluationStatuses List<DebugRuleEvaluationStatus>?
Information about the evaluation status of the rules for the training job.
final
enableInterContainerTrafficEncryption 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.
final
enableManagedSpotTraining 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.
final
enableNetworkIsolation 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.
final
experimentConfig ExperimentConfig?
final
failureReason String?
If the training job failed, the reason it failed.
final
finalMetricDataList List<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.
final
hashCode int
The hash code for this object.
no setterinherited
hyperParameters Map<String, String>?
Algorithm-specific parameters.
final
inputDataConfig List<Channel>?
An array of Channel objects that describes each data input channel.
final
labelingJobArn String?
The Amazon Resource Name (ARN) of the labeling job.
final
lastModifiedTime DateTime?
A timestamp that indicates when the status of the training job was last modified.
final
modelArtifacts ModelArtifacts?
Information about the Amazon S3 location that is configured for storing model artifacts.
final
outputDataConfig OutputDataConfig?
The S3 path where model artifacts that you configured when creating the job are stored. Amazon SageMaker creates subfolders for model artifacts.
final
resourceConfig ResourceConfig?
Resources, including ML compute instances and ML storage volumes, that are configured for model training.
final
roleArn String?
The AWS Identity and Access Management (IAM) role configured for the training job.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryStatus 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.
final
secondaryStatusTransitions List<SecondaryStatusTransition>?
A history of all of the secondary statuses that the training job has transitioned through.
final
stoppingCondition StoppingCondition?
Specifies a limit to how long a model training job can run. When the job reaches the time limit, Amazon SageMaker ends the training job. Use this API to cap model training costs.
final
tags List<Tag>?
An array of key-value pairs. You can use tags to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging AWS Resources.
final
tensorBoardOutputConfig TensorBoardOutputConfig?
final
trainingEndTime DateTime?
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.
final
trainingJobArn String?
The Amazon Resource Name (ARN) of the training job.
final
trainingJobName String?
The name of the training job.
final
trainingJobStatus TrainingJobStatus?
The status of the training job.
final
trainingStartTime DateTime?
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.
final
trainingTimeInSeconds int?
The training time in seconds.
final
tuningJobArn String?
The Amazon Resource Name (ARN) of the associated hyperparameter tuning job if the training job was launched by a hyperparameter tuning job.
final
vpcConfig 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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited