FinalHyperParameterTuningJobObjectiveMetric - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

FinalHyperParameterTuningJobObjectiveMetric

Shows the latest objective metric emitted by a training job that was launched by a hyperparameter tuning job. You define the objective metric in the HyperParameterTuningJobObjective parameter of HyperParameterTuningJobConfig.

Contents

MetricName

The name of the objective metric. For SageMaker built-in algorithms, metrics are defined per algorithm. See the metrics for XGBoost as an example. You can also use a custom algorithm for training and define your own metrics. For more information, see Define metrics and environment variables.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: .+

Required: Yes

Value

The value of the objective metric.

Type: Float

Required: Yes

Type

Select if you want to minimize or maximize the objective metric during hyperparameter tuning.

Type: String

Valid Values: Maximize | Minimize

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: