/
CfnModelCard_TrainingDetailsProperty.go
80 lines (77 loc) · 3.02 KB
/
CfnModelCard_TrainingDetailsProperty.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
package awssagemaker
// The training details of the 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"
//
// trainingDetailsProperty := &TrainingDetailsProperty{
// ObjectiveFunction: &ObjectiveFunctionProperty{
// Function: &FunctionProperty{
// Condition: jsii.String("condition"),
// Facet: jsii.String("facet"),
// Function: jsii.String("function"),
// },
// Notes: jsii.String("notes"),
// },
// TrainingJobDetails: &TrainingJobDetailsProperty{
// HyperParameters: []interface{}{
// &TrainingHyperParameterProperty{
// Name: jsii.String("name"),
// Value: jsii.String("value"),
// },
// },
// TrainingArn: jsii.String("trainingArn"),
// TrainingDatasets: []*string{
// jsii.String("trainingDatasets"),
// },
// TrainingEnvironment: &TrainingEnvironmentProperty{
// ContainerImage: []*string{
// jsii.String("containerImage"),
// },
// },
// TrainingMetrics: []interface{}{
// &TrainingMetricProperty{
// Name: jsii.String("name"),
// Value: jsii.Number(123),
//
// // the properties below are optional
// Notes: jsii.String("notes"),
// },
// },
// UserProvidedHyperParameters: []interface{}{
// &TrainingHyperParameterProperty{
// Name: jsii.String("name"),
// Value: jsii.String("value"),
// },
// },
// UserProvidedTrainingMetrics: []interface{}{
// &TrainingMetricProperty{
// Name: jsii.String("name"),
// Value: jsii.Number(123),
//
// // the properties below are optional
// Notes: jsii.String("notes"),
// },
// },
// },
// TrainingObservations: jsii.String("trainingObservations"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-trainingdetails.html
//
type CfnModelCard_TrainingDetailsProperty struct {
// The function that is optimized during model training.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-trainingdetails.html#cfn-sagemaker-modelcard-trainingdetails-objectivefunction
//
ObjectiveFunction interface{} `field:"optional" json:"objectiveFunction" yaml:"objectiveFunction"`
// Details about any associated training jobs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-trainingdetails.html#cfn-sagemaker-modelcard-trainingdetails-trainingjobdetails
//
TrainingJobDetails interface{} `field:"optional" json:"trainingJobDetails" yaml:"trainingJobDetails"`
// Any observations about training.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-trainingdetails.html#cfn-sagemaker-modelcard-trainingdetails-trainingobservations
//
TrainingObservations *string `field:"optional" json:"trainingObservations" yaml:"trainingObservations"`
}