class Aws::SageMaker::Types::MetricDefinition
Specifies a metric that the training algorithm writes to `stderr` or `stdout`. Amazon SageMakerhyperparameter tuning captures all defined metrics. You specify one metric that a hyperparameter tuning job uses as its objective metric to choose the best training job.
@note When making an API call, you may pass MetricDefinition
data as a hash: { name: "MetricName", # required regex: "MetricRegex", # required }
@!attribute [rw] name
The name of the metric. @return [String]
@!attribute [rw] regex
A regular expression that searches the output of a training job and gets the value of the metric. For more information about using regular expressions to define metrics, see [Defining Objective Metrics][1]. [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics.html @return [String]
@see docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/MetricDefinition AWS API Documentation
Constants
- SENSITIVE