Class MetricDefinition
Specifies the metric name and regular expressions used to parse algorithm logs.
Inheritance
System.Object
MetricDefinition
Implements
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MetricDefinition : Object, IMetricDefinition
Syntax (vb)
Public Class MetricDefinition
Inherits Object
Implements IMetricDefinition
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.StepFunctions.Tasks;
var metricDefinition = new MetricDefinition {
Name = "name",
Regex = "regex"
};
Synopsis
Constructors
MetricDefinition() |
Properties
Name | Name of the metric. |
Regex | Regular expression that searches the output of a training job and gets the value of the metric. |
Constructors
MetricDefinition()
public MetricDefinition()
Properties
Name
Name of the metric.
public string Name { get; set; }
Property Value
System.String
Regex
Regular expression that searches the output of a training job and gets the value of the metric.
public string Regex { get; set; }
Property Value
System.String