This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::SageMaker::Algorithm HyperParameterTuningJobObjective
Defines the objective metric for a hyperparameter tuning job. Hyperparameter tuning
uses the value of this metric to evaluate the training jobs it launches, and returns the
training job that results in either the highest or lowest value for this metric,
depending on the value you specify for the Type parameter. If you want to
define a custom objective metric, see Define metrics and environment variables.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "MetricName" :String, "Type" :String}
YAML
MetricName:StringType:String
Properties
MetricName-
The name of the metric to use for the objective metric.
Required: Yes
Type: String
Pattern:
^.+$Minimum:
1Maximum:
255Update requires: Replacement
Type-
Whether to minimize or maximize the objective metric.
Required: Yes
Type: String
Allowed values:
Maximize | MinimizeUpdate requires: Replacement