Interface CfnModelCard.MetricDataItemsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnModelCard.MetricDataItemsProperty.Jsii$Proxy
- Enclosing class:
- CfnModelCard
@Stability(Stable)
public static interface CfnModelCard.MetricDataItemsProperty
extends software.amazon.jsii.JsiiSerializable
Metric data.
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 .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.sagemaker.*; Object value; MetricDataItemsProperty metricDataItemsProperty = MetricDataItemsProperty.builder() .name("name") .type("type") .value(value) // the properties below are optional .notes("notes") .xAxisName(List.of("xAxisName")) .yAxisName(List.of("yAxisName")) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnModelCard.MetricDataItemsProperty
static final class
An implementation forCfnModelCard.MetricDataItemsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The names of the metrics. -
getType
You must specify one of the following data types:.- Bar Chart
bar_char
- Boolean
boolean
- Linear Graph
linear_graph
- Matrix
matrix
- Number
number
- String
string
- Bar Chart
-
getValue
The datatype of the metric.The metric's value must be compatible with the metric's type .
-
getNotes
Any notes to add to the metric. -
getXAxisName
The name of the x axis. -
getYAxisName
The name of the y axis. -
builder
-