interface MetricDataItemsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnModelCard.MetricDataItemsProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnModelCard.MetricDataItemsProperty |
Python | aws_cdk.aws_sagemaker.CfnModelCard.MetricDataItemsProperty |
TypeScript | @aws-cdk/aws-sagemaker » CfnModelCard » MetricDataItemsProperty |
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 * as sagemaker from '@aws-cdk/aws-sagemaker';
declare const value: any;
const metricDataItemsProperty: sagemaker.CfnModelCard.MetricDataItemsProperty = {
name: 'name',
type: 'type',
value: value,
// the properties below are optional
notes: 'notes',
xAxisName: ['xAxisName'],
yAxisName: ['yAxisName'],
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The names of the metrics. |
| type | string | You must specify one of the following data types:. |
| value | any | The datatype of the metric. |
| notes? | string | Any notes to add to the metric. |
| x | string[] | The name of the x axis. |
| y | string[] | The name of the y axis. |
name
Type:
string
The names of the metrics.
type
Type:
string
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
value
Type:
any
The datatype of the metric.
The metric's value must be compatible with the metric's type .
notes?
Type:
string
(optional)
Any notes to add to the metric.
xAxisName?
Type:
string[]
(optional)
The name of the x axis.
yAxisName?
Type:
string[]
(optional)
The name of the y axis.

.NET
Java
Python
TypeScript