AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Defines the training jobs launched by a hyperparameter tuning job.
Namespace: Amazon.SageMaker.Model
Assembly: AWSSDK.SageMaker.dll
Version: 3.x.y.z
public class HyperParameterTrainingJobDefinition
The HyperParameterTrainingJobDefinition type exposes the following members
Name | Description | |
---|---|---|
HyperParameterTrainingJobDefinition() |
Name | Type | Description | |
---|---|---|---|
AlgorithmSpecification | Amazon.SageMaker.Model.HyperParameterAlgorithmSpecification |
Gets and sets the property AlgorithmSpecification. The HyperParameterAlgorithmSpecification object that specifies the resource algorithm to use for the training jobs that the tuning job launches. |
|
CheckpointConfig | Amazon.SageMaker.Model.CheckpointConfig |
Gets and sets the property CheckpointConfig. |
|
DefinitionName | System.String |
Gets and sets the property DefinitionName. The job definition name. |
|
EnableInterContainerTrafficEncryption | System.Boolean |
Gets and sets the property EnableInterContainerTrafficEncryption.
To encrypt all communications between ML compute instances in distributed training,
choose |
|
EnableManagedSpotTraining | System.Boolean |
Gets and sets the property EnableManagedSpotTraining.
A Boolean indicating whether managed spot training is enabled ( |
|
EnableNetworkIsolation | System.Boolean |
Gets and sets the property EnableNetworkIsolation. 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, SageMaker downloads and uploads customer data and model artifacts through the specified VPC, but the training container does not have network access. |
|
Environment | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Environment. An environment variable that you can pass into the SageMaker CreateTrainingJob API. You can use an existing environment variable from the training container or use your own. See Define metrics and variables for more information.
The maximum number of items specified for |
|
HyperParameterRanges | Amazon.SageMaker.Model.ParameterRanges |
Gets and sets the property HyperParameterRanges. |
|
HyperParameterTuningResourceConfig | Amazon.SageMaker.Model.HyperParameterTuningResourceConfig |
Gets and sets the property HyperParameterTuningResourceConfig.
The configuration for the hyperparameter tuning resources, including the compute instances
and storage volumes, used for training jobs launched by the tuning job. By default,
storage volumes hold model artifacts and incremental states. Choose |
|
InputDataConfig | System.Collections.Generic.List<Amazon.SageMaker.Model.Channel> |
Gets and sets the property InputDataConfig. An array of Channel objects that specify the input for the training jobs that the tuning job launches. |
|
OutputDataConfig | Amazon.SageMaker.Model.OutputDataConfig |
Gets and sets the property OutputDataConfig. Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the tuning job launches. |
|
ResourceConfig | Amazon.SageMaker.Model.ResourceConfig |
Gets and sets the property ResourceConfig. The resources, including the compute instances and storage volumes, to use for the training jobs that the tuning job launches.
Storage volumes store model artifacts and incremental states. Training algorithms
might also use storage volumes for scratch space. If you want SageMaker to use the
storage volume to store the training data, choose
If you want to use hyperparameter optimization with instance type flexibility, use
|
|
RetryStrategy | Amazon.SageMaker.Model.RetryStrategy |
Gets and sets the property RetryStrategy.
The number of times to retry the job when the job fails due to an |
|
RoleArn | System.String |
Gets and sets the property RoleArn. The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job launches. |
|
StaticHyperParameters | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property StaticHyperParameters. Specifies the values of hyperparameters that do not change for the tuning job. |
|
StoppingCondition | Amazon.SageMaker.Model.StoppingCondition |
Gets and sets the property StoppingCondition. Specifies a limit to how long a model hyperparameter training job can run. It also specifies how long a managed spot training job has to complete. When the job reaches the time limit, SageMaker ends the training job. Use this API to cap model training costs. |
|
TuningObjective | Amazon.SageMaker.Model.HyperParameterTuningJobObjective |
Gets and sets the property TuningObjective. |
|
VpcConfig | Amazon.SageMaker.Model.VpcConfig |
Gets and sets the property 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. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5