interface TrainingSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SageMaker.CfnAlgorithmPropsMixin.TrainingSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssagemaker#CfnAlgorithmPropsMixin_TrainingSpecificationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnAlgorithmPropsMixin.TrainingSpecificationProperty |
Python | aws_cdk.cfn_property_mixins.aws_sagemaker.CfnAlgorithmPropsMixin.TrainingSpecificationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_sagemaker » CfnAlgorithmPropsMixin » TrainingSpecificationProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from '@aws-cdk/cfn-property-mixins';
const trainingSpecificationProperty: sagemaker.CfnAlgorithmPropsMixin.TrainingSpecificationProperty = {
metricDefinitions: [{
name: 'name',
regex: 'regex',
}],
supportedHyperParameters: [{
defaultValue: 'defaultValue',
description: 'description',
isRequired: false,
isTunable: false,
name: 'name',
range: {
categoricalParameterRangeSpecification: {
values: ['values'],
},
continuousParameterRangeSpecification: {
maxValue: 'maxValue',
minValue: 'minValue',
},
integerParameterRangeSpecification: {
maxValue: 'maxValue',
minValue: 'minValue',
},
},
type: 'type',
}],
supportedTrainingInstanceTypes: ['supportedTrainingInstanceTypes'],
supportedTuningJobObjectiveMetrics: [{
metricName: 'metricName',
type: 'type',
}],
supportsDistributedTraining: false,
trainingChannels: [{
description: 'description',
isRequired: false,
name: 'name',
supportedCompressionTypes: ['supportedCompressionTypes'],
supportedContentTypes: ['supportedContentTypes'],
supportedInputModes: ['supportedInputModes'],
}],
trainingImage: 'trainingImage',
trainingImageDigest: 'trainingImageDigest',
};
Properties
| Name | Type | Description |
|---|---|---|
| metric | IResolvable | (IResolvable | Metric)[] | |
| supported | IResolvable | (IResolvable | Hyper)[] | |
| supported | string[] | |
| supported | IResolvable | (IResolvable | Hyper)[] | |
| supports | boolean | IResolvable | |
| training | IResolvable | (IResolvable | Channel)[] | |
| training | string | |
| training | string |
metricDefinitions?
Type:
IResolvable | (IResolvable | Metric)[]
(optional)
supportedHyperParameters?
Type:
IResolvable | (IResolvable | Hyper)[]
(optional)
supportedTrainingInstanceTypes?
Type:
string[]
(optional)
supportedTuningJobObjectiveMetrics?
Type:
IResolvable | (IResolvable | Hyper)[]
(optional)
supportsDistributedTraining?
Type:
boolean | IResolvable
(optional)
trainingChannels?
Type:
IResolvable | (IResolvable | Channel)[]
(optional)
trainingImage?
Type:
string
(optional)
trainingImageDigest?
Type:
string
(optional)

.NET
Go
Java
Python
TypeScript