Interface CfnModelCard.TrainingJobDetailsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnModelCard.TrainingJobDetailsProperty.Jsii$Proxy
- Enclosing class:
CfnModelCard
@Stability(Stable)
public static interface CfnModelCard.TrainingJobDetailsProperty
extends software.amazon.jsii.JsiiSerializable
The overview of a training job.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
TrainingJobDetailsProperty trainingJobDetailsProperty = TrainingJobDetailsProperty.builder()
.hyperParameters(List.of(TrainingHyperParameterProperty.builder()
.name("name")
.value("value")
.build()))
.trainingArn("trainingArn")
.trainingDatasets(List.of("trainingDatasets"))
.trainingEnvironment(TrainingEnvironmentProperty.builder()
.containerImage(List.of("containerImage"))
.build())
.trainingMetrics(List.of(TrainingMetricProperty.builder()
.name("name")
.value(123)
// the properties below are optional
.notes("notes")
.build()))
.userProvidedHyperParameters(List.of(TrainingHyperParameterProperty.builder()
.name("name")
.value("value")
.build()))
.userProvidedTrainingMetrics(List.of(TrainingMetricProperty.builder()
.name("name")
.value(123)
// the properties below are optional
.notes("notes")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnModelCard.TrainingJobDetailsPropertystatic final classAn implementation forCfnModelCard.TrainingJobDetailsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe hyper parameters used in the training job.default StringThe SageMaker AI training job Amazon Resource Name (ARN).The location of the datasets used to train the model.default ObjectThe SageMaker AI training job image URI.default ObjectThe SageMaker AI training job results.default ObjectAdditional hyper parameters that you've specified when training the model.default ObjectCustom training job results.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHyperParameters
The hyper parameters used in the training job.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnModelCard.TrainingHyperParameterProperty>- See Also:
-
getTrainingArn
The SageMaker AI training job Amazon Resource Name (ARN).- See Also:
-
getTrainingDatasets
The location of the datasets used to train the model.- See Also:
-
getTrainingEnvironment
The SageMaker AI training job image URI.Returns union: either
IResolvableorCfnModelCard.TrainingEnvironmentProperty- See Also:
-
getTrainingMetrics
The SageMaker AI training job results.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnModelCard.TrainingMetricProperty>- See Also:
-
getUserProvidedHyperParameters
Additional hyper parameters that you've specified when training the model.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnModelCard.TrainingHyperParameterProperty>- See Also:
-
getUserProvidedTrainingMetrics
Custom training job results.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnModelCard.TrainingMetricProperty>- See Also:
-
builder
-