package awssagemaker // 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](https://docs.aws.amazon.com/sagemaker/latest/dg/model-cards.html#model-cards-json-schema) . // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // var value interface{} // // metricDataItemsProperty := &MetricDataItemsProperty{ // Name: jsii.String("name"), // Type: jsii.String("type"), // Value: value, // // // the properties below are optional // Notes: jsii.String("notes"), // XAxisName: []*string{ // jsii.String("xAxisName"), // }, // YAxisName: []*string{ // jsii.String("yAxisName"), // }, // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-metricdataitems.html // type CfnModelCard_MetricDataItemsProperty struct { // The names of the metrics. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-metricdataitems.html#cfn-sagemaker-modelcard-metricdataitems-name // Name *string `field:"required" json:"name" yaml:"name"` // 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`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-metricdataitems.html#cfn-sagemaker-modelcard-metricdataitems-type // Type *string `field:"required" json:"type" yaml:"type"` // The datatype of the metric. // // The metric's *value* must be compatible with the metric's *type* . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-metricdataitems.html#cfn-sagemaker-modelcard-metricdataitems-value // Value interface{} `field:"required" json:"value" yaml:"value"` // Any notes to add to the metric. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-metricdataitems.html#cfn-sagemaker-modelcard-metricdataitems-notes // Notes *string `field:"optional" json:"notes" yaml:"notes"` // The name of the x axis. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-metricdataitems.html#cfn-sagemaker-modelcard-metricdataitems-xaxisname // XAxisName *[]*string `field:"optional" json:"xAxisName" yaml:"xAxisName"` // The name of the y axis. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-metricdataitems.html#cfn-sagemaker-modelcard-metricdataitems-yaxisname // YAxisName *[]*string `field:"optional" json:"yAxisName" yaml:"yAxisName"` }