Class CfnModelCard.MetricDataItemsProperty
Metric data.
Inheritance
System.Object
CfnModelCard.MetricDataItemsProperty
Implements
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class MetricDataItemsProperty : Object, CfnModelCard.IMetricDataItemsProperty
Syntax (vb)
Public Class MetricDataItemsProperty
Inherits Object
Implements CfnModelCard.IMetricDataItemsProperty
Remarks
The type
determines the data types that you specify for value
, XAxisName
and YAxisName
. For information about specifying values for metrics, see model card JSON schema .
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.Sagemaker;
var value;
var metricDataItemsProperty = new MetricDataItemsProperty {
Name = "name",
Type = "type",
Value = value,
// the properties below are optional
Notes = "notes",
XAxisName = new [] { "xAxisName" },
YAxisName = new [] { "yAxisName" }
};
Synopsis
Constructors
MetricDataItemsProperty() |
Properties
Name | The names of the metrics. |
Notes | Any notes to add to the metric. |
Type | You must specify one of the following data types:. |
Value | The datatype of the metric. |
XAxisName | The name of the x axis. |
YAxisName | The name of the y axis. |
Constructors
MetricDataItemsProperty()
public MetricDataItemsProperty()
Properties
Name
The names of the metrics.
public string Name { get; set; }
Property Value
System.String
Remarks
Notes
Any notes to add to the metric.
public string Notes { get; set; }
Property Value
System.String
Remarks
Type
You must specify one of the following data types:.
public string Type { get; set; }
Property Value
System.String
Remarks
Value
The datatype of the metric.
public object Value { get; set; }
Property Value
System.Object
Remarks
The metric's value must be compatible with the metric's type .
XAxisName
The name of the x axis.
public string[] XAxisName { get; set; }
Property Value
System.String[]
Remarks
YAxisName
The name of the y axis.
public string[] YAxisName { get; set; }
Property Value
System.String[]