MetricDefinition
¶
Source code in docs_src/capo_sagemaker/types/metric_definition.py
regex
instance-attribute
¶
regex: NotRequired[MetricRegex]
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 metrics and environment variables.