| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SageMaker.Types.MetricDefinition
Description
Synopsis
Documentation
data MetricDefinition Source #
Specifies a metric that the training algorithm writes to stderr or
stdout. 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.
See: newMetricDefinition smart constructor.
Constructors
| MetricDefinition' | |
Fields
| |
Instances
Create a value of MetricDefinition with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:MetricDefinition', metricDefinition_name - The name of the metric.
$sel:regex:MetricDefinition', metricDefinition_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.
metricDefinition_name :: Lens' MetricDefinition Text Source #
The name of the metric.
metricDefinition_regex :: Lens' MetricDefinition Text Source #
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.