-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnModelCard_MetricDataItemsProperty.go
67 lines (64 loc) · 2.92 KB
/
CfnModelCard_MetricDataItemsProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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"`
}