/
CfnModelPackage_ModelMetricsProperty.go
98 lines (95 loc) · 3.81 KB
/
CfnModelPackage_ModelMetricsProperty.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
package awssagemaker
// Contains metrics captured from a model.
//
// 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"
//
// modelMetricsProperty := &ModelMetricsProperty{
// Bias: &BiasProperty{
// PostTrainingReport: &MetricsSourceProperty{
// ContentType: jsii.String("contentType"),
// S3Uri: jsii.String("s3Uri"),
//
// // the properties below are optional
// ContentDigest: jsii.String("contentDigest"),
// },
// PreTrainingReport: &MetricsSourceProperty{
// ContentType: jsii.String("contentType"),
// S3Uri: jsii.String("s3Uri"),
//
// // the properties below are optional
// ContentDigest: jsii.String("contentDigest"),
// },
// Report: &MetricsSourceProperty{
// ContentType: jsii.String("contentType"),
// S3Uri: jsii.String("s3Uri"),
//
// // the properties below are optional
// ContentDigest: jsii.String("contentDigest"),
// },
// },
// Explainability: &ExplainabilityProperty{
// Report: &MetricsSourceProperty{
// ContentType: jsii.String("contentType"),
// S3Uri: jsii.String("s3Uri"),
//
// // the properties below are optional
// ContentDigest: jsii.String("contentDigest"),
// },
// },
// ModelDataQuality: &ModelDataQualityProperty{
// Constraints: &MetricsSourceProperty{
// ContentType: jsii.String("contentType"),
// S3Uri: jsii.String("s3Uri"),
//
// // the properties below are optional
// ContentDigest: jsii.String("contentDigest"),
// },
// Statistics: &MetricsSourceProperty{
// ContentType: jsii.String("contentType"),
// S3Uri: jsii.String("s3Uri"),
//
// // the properties below are optional
// ContentDigest: jsii.String("contentDigest"),
// },
// },
// ModelQuality: &ModelQualityProperty{
// Constraints: &MetricsSourceProperty{
// ContentType: jsii.String("contentType"),
// S3Uri: jsii.String("s3Uri"),
//
// // the properties below are optional
// ContentDigest: jsii.String("contentDigest"),
// },
// Statistics: &MetricsSourceProperty{
// ContentType: jsii.String("contentType"),
// S3Uri: jsii.String("s3Uri"),
//
// // the properties below are optional
// ContentDigest: jsii.String("contentDigest"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modelmetrics.html
//
type CfnModelPackage_ModelMetricsProperty struct {
// Metrics that measure bias in a model.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modelmetrics.html#cfn-sagemaker-modelpackage-modelmetrics-bias
//
Bias interface{} `field:"optional" json:"bias" yaml:"bias"`
// Metrics that help explain a model.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modelmetrics.html#cfn-sagemaker-modelpackage-modelmetrics-explainability
//
Explainability interface{} `field:"optional" json:"explainability" yaml:"explainability"`
// Metrics that measure the quality of the input data for a model.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modelmetrics.html#cfn-sagemaker-modelpackage-modelmetrics-modeldataquality
//
ModelDataQuality interface{} `field:"optional" json:"modelDataQuality" yaml:"modelDataQuality"`
// Metrics that measure the quality of a model.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modelmetrics.html#cfn-sagemaker-modelpackage-modelmetrics-modelquality
//
ModelQuality interface{} `field:"optional" json:"modelQuality" yaml:"modelQuality"`
}