HyperParameterTuningJobConfig
public struct HyperParameterTuningJobConfig : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The HyperParameterTuningJobObjective object that specifies the objective metric for this tuning job.
Declaration
Swift
public let hyperParameterTuningJobObjective: HyperParameterTuningJobObjective?
-
The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job searches.
Declaration
Swift
public let parameterRanges: ParameterRanges?
-
The ResourceLimits object that specifies the maximum number of training jobs and parallel training jobs for this tuning job.
Declaration
Swift
public let resourceLimits: ResourceLimits
-
Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job it launches. To use the Bayesian search strategy, set this to Bayesian. To randomly search, set it to Random. For information about search strategies, see How Hyperparameter Tuning Works.
Declaration
Swift
public let strategy: HyperParameterTuningJobStrategyType
-
Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. This can be 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 Amazon 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.
Declaration
Swift
public let trainingJobEarlyStoppingType: TrainingJobEarlyStoppingType?
-
The tuning job’s completion criteria.
Declaration
Swift
public let tuningJobCompletionCriteria: TuningJobCompletionCriteria?
-
init(hyperParameterTuningJobObjective:parameterRanges:resourceLimits:strategy:trainingJobEarlyStoppingType:tuningJobCompletionCriteria:)
Undocumented
Declaration
Swift
public init(hyperParameterTuningJobObjective: HyperParameterTuningJobObjective? = nil, parameterRanges: ParameterRanges? = nil, resourceLimits: ResourceLimits, strategy: HyperParameterTuningJobStrategyType, trainingJobEarlyStoppingType: TrainingJobEarlyStoppingType? = nil, tuningJobCompletionCriteria: TuningJobCompletionCriteria? = nil)
-
Declaration
Swift
public func validate(name: String) throws