FinalHyperParameterTuningJobObjectiveMetric - Amazon SageMaker


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.



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


The value of the objective metric.

Type: Float

Required: Yes


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 AWS SDKs, see the following: