interface TrainingSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnAlgorithm.TrainingSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnAlgorithm_TrainingSpecificationProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnAlgorithm.TrainingSpecificationProperty |
Python | aws_cdk.aws_sagemaker.CfnAlgorithm.TrainingSpecificationProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnAlgorithm » 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-lib';
const trainingSpecificationProperty: sagemaker.CfnAlgorithm.TrainingSpecificationProperty = {
supportedTrainingInstanceTypes: ['supportedTrainingInstanceTypes'],
trainingChannels: [{
name: 'name',
supportedContentTypes: ['supportedContentTypes'],
supportedInputModes: ['supportedInputModes'],
// the properties below are optional
description: 'description',
isRequired: false,
supportedCompressionTypes: ['supportedCompressionTypes'],
}],
trainingImage: 'trainingImage',
// the properties below are optional
metricDefinitions: [{
name: 'name',
regex: 'regex',
}],
supportedHyperParameters: [{
name: 'name',
type: 'type',
// the properties below are optional
defaultValue: 'defaultValue',
description: 'description',
isRequired: false,
isTunable: false,
range: {
categoricalParameterRangeSpecification: {
values: ['values'],
},
continuousParameterRangeSpecification: {
maxValue: 'maxValue',
minValue: 'minValue',
},
integerParameterRangeSpecification: {
maxValue: 'maxValue',
minValue: 'minValue',
},
},
}],
supportedTuningJobObjectiveMetrics: [{
metricName: 'metricName',
type: 'type',
}],
supportsDistributedTraining: false,
trainingImageDigest: 'trainingImageDigest',
};
Properties
| Name | Type | Description |
|---|---|---|
| supported | string[] | |
| training | IResolvable | (IResolvable | Channel)[] | |
| training | string | |
| metric | IResolvable | (IResolvable | Metric)[] | |
| supported | IResolvable | (IResolvable | Hyper)[] | |
| supported | IResolvable | (IResolvable | Hyper)[] | |
| supports | boolean | IResolvable | |
| training | string |
supportedTrainingInstanceTypes
Type:
string[]
trainingChannels
Type:
IResolvable | (IResolvable | Channel)[]
trainingImage
Type:
string
metricDefinitions?
Type:
IResolvable | (IResolvable | Metric)[]
(optional)
supportedHyperParameters?
Type:
IResolvable | (IResolvable | Hyper)[]
(optional)
supportedTuningJobObjectiveMetrics?
Type:
IResolvable | (IResolvable | Hyper)[]
(optional)
supportsDistributedTraining?
Type:
boolean | IResolvable
(optional)
trainingImageDigest?
Type:
string
(optional)

.NET
Go
Java
Python
TypeScript