HyperParameterTrainingJobDefinition class
Defines the training jobs launched by a hyperparameter tuning job.
Constructors
-
HyperParameterTrainingJobDefinition({required HyperParameterAlgorithmSpecification algorithmSpecification, required OutputDataConfig outputDataConfig, required ResourceConfig resourceConfig, required String roleArn, required StoppingCondition stoppingCondition, CheckpointConfig? checkpointConfig, String? definitionName, bool? enableInterContainerTrafficEncryption, bool? enableManagedSpotTraining, bool? enableNetworkIsolation, ParameterRanges? hyperParameterRanges, List<
Channel> ? inputDataConfig, Map<String, String> ? staticHyperParameters, HyperParameterTuningJobObjective? tuningObjective, VpcConfig? vpcConfig}) -
HyperParameterTrainingJobDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
- algorithmSpecification → HyperParameterAlgorithmSpecification
-
The HyperParameterAlgorithmSpecification object that specifies the
resource algorithm to use for the training jobs that the tuning job
launches.
final
- checkpointConfig → CheckpointConfig?
-
final
- definitionName → String?
-
The job definition name.
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?
-
A Boolean indicating whether managed spot training is enabled
(
True
) or not (False
).final - enableNetworkIsolation → bool?
-
Isolates the training container. No inbound or outbound network calls can be
made, except for calls between peers within a training cluster for
distributed training. If network isolation is used for training jobs that
are configured to use a VPC, Amazon SageMaker downloads and uploads customer
data and model artifacts through the specified VPC, but the training
container does not have network access.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hyperParameterRanges → ParameterRanges?
-
final
-
inputDataConfig
→ List<
Channel> ? -
An array of Channel objects that specify the input for the training
jobs that the tuning job launches.
final
- outputDataConfig → OutputDataConfig
-
Specifies the path to the Amazon S3 bucket where you store model artifacts
from the training jobs that the tuning job launches.
final
- resourceConfig → ResourceConfig
-
The resources, including the compute instances and storage volumes, to use
for the training jobs that the tuning job launches.
final
- roleArn → String
-
The Amazon Resource Name (ARN) of the IAM role associated with the training
jobs that the tuning job launches.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
staticHyperParameters
→ Map<
String, String> ? -
Specifies the values of hyperparameters that do not change for the tuning
job.
final
- stoppingCondition → StoppingCondition
-
Specifies a limit to how long a model hyperparameter training job can run.
It also specifies how long you are willing to wait for a managed spot
training job to complete. When the job reaches the a limit, Amazon SageMaker
ends the training job. Use this API to cap model training costs.
final
- tuningObjective → HyperParameterTuningJobObjective?
-
final
- vpcConfig → VpcConfig?
-
The VpcConfig object that specifies the VPC that you want the
training jobs that this hyperparameter tuning job launches to connect to.
Control access to and from your training container by configuring the VPC.
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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited