interface MetricDataItemsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Sagemaker.CfnModelCard.MetricDataItemsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnModelCard_MetricDataItemsProperty |
![]() | software.amazon.awscdk.services.sagemaker.CfnModelCard.MetricDataItemsProperty |
![]() | aws_cdk.aws_sagemaker.CfnModelCard.MetricDataItemsProperty |
![]() | aws-cdk-lib » 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 { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
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 | |
type | string | |
value | any | |
notes? | string | |
x | string[] | |
y | string[] |
name
Type:
string
type
Type:
string
value
Type:
any
notes?
Type:
string
(optional)
xAxisName?
Type:
string[]
(optional)
yAxisName?
Type:
string[]
(optional)