Interface CfnAlgorithmPropsMixin.TrainingSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAlgorithmPropsMixin.TrainingSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnAlgorithmPropsMixin
@Stability(Stable)
public static interface CfnAlgorithmPropsMixin.TrainingSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.sagemaker.*;
TrainingSpecificationProperty trainingSpecificationProperty = TrainingSpecificationProperty.builder()
.metricDefinitions(List.of(MetricDefinitionProperty.builder()
.name("name")
.regex("regex")
.build()))
.supportedHyperParameters(List.of(HyperParameterSpecificationProperty.builder()
.defaultValue("defaultValue")
.description("description")
.isRequired(false)
.isTunable(false)
.name("name")
.range(ParameterRangeProperty.builder()
.categoricalParameterRangeSpecification(CategoricalParameterRangeSpecificationProperty.builder()
.values(List.of("values"))
.build())
.continuousParameterRangeSpecification(ContinuousParameterRangeSpecificationProperty.builder()
.maxValue("maxValue")
.minValue("minValue")
.build())
.integerParameterRangeSpecification(IntegerParameterRangeSpecificationProperty.builder()
.maxValue("maxValue")
.minValue("minValue")
.build())
.build())
.type("type")
.build()))
.supportedTrainingInstanceTypes(List.of("supportedTrainingInstanceTypes"))
.supportedTuningJobObjectiveMetrics(List.of(HyperParameterTuningJobObjectiveProperty.builder()
.metricName("metricName")
.type("type")
.build()))
.supportsDistributedTraining(false)
.trainingChannels(List.of(ChannelSpecificationProperty.builder()
.description("description")
.isRequired(false)
.name("name")
.supportedCompressionTypes(List.of("supportedCompressionTypes"))
.supportedContentTypes(List.of("supportedContentTypes"))
.supportedInputModes(List.of("supportedInputModes"))
.build()))
.trainingImage("trainingImage")
.trainingImageDigest("trainingImageDigest")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAlgorithmPropsMixin.TrainingSpecificationPropertystatic final classAn implementation forCfnAlgorithmPropsMixin.TrainingSpecificationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnAlgorithmPropsMixin.MetricDefinitionProperty>default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnAlgorithmPropsMixin.HyperParameterSpecificationProperty>default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnAlgorithmPropsMixin.HyperParameterTuningJobObjectiveProperty>default ObjectReturns union: eitherBooleanorIResolvabledefault ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnAlgorithmPropsMixin.ChannelSpecificationProperty>default Stringdefault StringMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMetricDefinitions
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnAlgorithmPropsMixin.MetricDefinitionProperty>- See Also:
-
getSupportedHyperParameters
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnAlgorithmPropsMixin.HyperParameterSpecificationProperty>- See Also:
-
getSupportedTrainingInstanceTypes
- See Also:
-
getSupportedTuningJobObjectiveMetrics
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnAlgorithmPropsMixin.HyperParameterTuningJobObjectiveProperty>- See Also:
-
getSupportsDistributedTraining
Returns union: eitherBooleanorIResolvable- See Also:
-
getTrainingChannels
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnAlgorithmPropsMixin.ChannelSpecificationProperty>- See Also:
-
getTrainingImage
- See Also:
-
getTrainingImageDigest
- See Also:
-
builder
-