aws-cdk-lib.aws_sagemaker.CfnModelCard.MetricGroupProperty

interface MetricGroupProperty

LanguageType name
.NETAmazon.CDK.AWS.Sagemaker.CfnModelCard.MetricGroupProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnModelCard_MetricGroupProperty
Javasoftware.amazon.awscdk.services.sagemaker.CfnModelCard.MetricGroupProperty
Pythonaws_cdk.aws_sagemaker.CfnModelCard.MetricGroupProperty
TypeScript aws-cdk-lib » aws_sagemaker » CfnModelCard » MetricGroupProperty

A group of metric data that you use to initialize a metric group object.

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 metricGroupProperty: sagemaker.CfnModelCard.MetricGroupProperty = {
  metricData: [{
    name: 'name',
    type: 'type',
    value: value,

    // the properties below are optional
    notes: 'notes',
    xAxisName: ['xAxisName'],
    yAxisName: ['yAxisName'],
  }],
  name: 'name',
};

Properties

NameTypeDescription
metricDataIResolvable | IResolvable | MetricDataItemsProperty[]A list of metric objects. The MetricDataItems list can have one of the following values:.
namestringThe metric group name.

metricData

Type: IResolvable | IResolvable | MetricDataItemsProperty[]

A list of metric objects. The MetricDataItems list can have one of the following values:.

  • bar_chart_metric
  • matrix_metric
  • simple_metric
  • linear_graph_metric

For more information about the metric schema, see the definition section of the model card JSON schema .


name

Type: string

The metric group name.