interface MetricGroupProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnModelCard.MetricGroupProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnModelCard.MetricGroupProperty |
Python | aws_cdk.aws_sagemaker.CfnModelCard.MetricGroupProperty |
TypeScript | @aws-cdk/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 * as sagemaker from '@aws-cdk/aws-sagemaker';
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
| Name | Type | Description |
|---|---|---|
| metric | IResolvable | IResolvable | Metric[] | A list of metric objects. The MetricDataItems list can have one of the following values:. |
| name | string | The metric group name. |
metricData
Type:
IResolvable | IResolvable | Metric[]
A list of metric objects. The MetricDataItems list can have one of the following values:.
bar_chart_metricmatrix_metricsimple_metriclinear_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.

.NET
Java
Python
TypeScript