MetricDefinition

class aws_cdk.aws_stepfunctions_tasks.MetricDefinition(*, name, regex)

Bases: object

__init__(*, name, regex)

Specifies the metric name and regular expressions used to parse algorithm logs.

Parameters
  • name (str) – Name of the metric.

  • regex (str) – Regular expression that searches the output of a training job and gets the value of the metric.

stability :stability: experimental

Attributes

name

Name of the metric.

stability :stability: experimental

Return type

str

regex

Regular expression that searches the output of a training job and gets the value of the metric.

stability :stability: experimental

Return type

str