Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data MetricDefinition Source #
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.
See: newMetricDefinition
smart constructor.
MetricDefinition' | |
|
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.