libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.Types.MetricDefinition

Description

 
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.

Constructors

MetricDefinition' 

Fields

  • name :: Text

    The name of the metric.

  • regex :: Text

    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.

Instances

Instances details
Eq MetricDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.MetricDefinition

Read MetricDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.MetricDefinition

Show MetricDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.MetricDefinition

Generic MetricDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.MetricDefinition

Associated Types

type Rep MetricDefinition :: Type -> Type #

NFData MetricDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.MetricDefinition

Methods

rnf :: MetricDefinition -> () #

Hashable MetricDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.MetricDefinition

ToJSON MetricDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.MetricDefinition

FromJSON MetricDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.MetricDefinition

type Rep MetricDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.Types.MetricDefinition

type Rep MetricDefinition = D1 ('MetaData "MetricDefinition" "Amazonka.SageMaker.Types.MetricDefinition" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "MetricDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "regex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newMetricDefinition Source #

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_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.