AWS SDK Version 3 for .NET
API Reference

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.

Configures a hyperparameter tuning job.

Inheritance Hierarchy

System.Object
  Amazon.SageMaker.Model.HyperParameterTuningJobConfig

Namespace: Amazon.SageMaker.Model
Assembly: AWSSDK.SageMaker.dll
Version: 3.x.y.z

Syntax

C#
public class HyperParameterTuningJobConfig

The HyperParameterTuningJobConfig type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property HyperParameterTuningJobObjective Amazon.SageMaker.Model.HyperParameterTuningJobObjective

Gets and sets the property HyperParameterTuningJobObjective.

The HyperParameterTuningJobObjective specifies the objective metric used to evaluate the performance of training jobs launched by this tuning job.

Public Property ParameterRanges Amazon.SageMaker.Model.ParameterRanges

Gets and sets the property ParameterRanges.

The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job searches over to find the optimal configuration for the highest model performance against your chosen objective metric.

Public Property RandomSeed System.Int32

Gets and sets the property RandomSeed.

A value used to initialize a pseudo-random number generator. Setting a random seed and using the same seed later for the same tuning job will allow hyperparameter optimization to find more a consistent hyperparameter configuration between the two runs.

Public Property ResourceLimits Amazon.SageMaker.Model.ResourceLimits

Gets and sets the property ResourceLimits.

The ResourceLimits object that specifies the maximum number of training and parallel training jobs that can be used for this hyperparameter tuning job.

Public Property Strategy Amazon.SageMaker.HyperParameterTuningJobStrategyType

Gets and sets the property Strategy.

Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job it launches. For information about search strategies, see How Hyperparameter Tuning Works.

Public Property StrategyConfig Amazon.SageMaker.Model.HyperParameterTuningJobStrategyConfig

Gets and sets the property StrategyConfig.

The configuration for the Hyperband optimization strategy. This parameter should be provided only if Hyperband is selected as the strategy for HyperParameterTuningJobConfig.

Public Property TrainingJobEarlyStoppingType Amazon.SageMaker.TrainingJobEarlyStoppingType

Gets and sets the property TrainingJobEarlyStoppingType.

Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. Because the Hyperband strategy has its own advanced internal early stopping mechanism, TrainingJobEarlyStoppingType must be OFF to use Hyperband. This parameter can take on one of the following values (the default value is OFF):

OFF

Training jobs launched by the hyperparameter tuning job do not use early stopping.

AUTO

SageMaker stops training jobs launched by the hyperparameter tuning job when they are unlikely to perform better than previously completed training jobs. For more information, see Stop Training Jobs Early.

Public Property TuningJobCompletionCriteria Amazon.SageMaker.Model.TuningJobCompletionCriteria

Gets and sets the property TuningJobCompletionCriteria.

The tuning job's completion criteria.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5