Interface CfnModelCard.TrainingDetailsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnModelCard.TrainingDetailsProperty.Jsii$Proxy
- Enclosing class:
CfnModelCard
@Stability(Stable)
public static interface CfnModelCard.TrainingDetailsProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.sagemaker.*;
TrainingDetailsProperty trainingDetailsProperty = TrainingDetailsProperty.builder()
.objectiveFunction(ObjectiveFunctionProperty.builder()
.function(FunctionProperty.builder()
.condition("condition")
.facet("facet")
.function("function")
.build())
.notes("notes")
.build())
.trainingJobDetails(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())
.trainingObservations("trainingObservations")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnModelCard.TrainingDetailsPropertystatic final classAn implementation forCfnModelCard.TrainingDetailsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getObjectiveFunction
The function that is optimized during model training.Returns union: either
IResolvableorCfnModelCard.ObjectiveFunctionProperty- See Also:
-
getTrainingJobDetails
Details about any associated training jobs.Returns union: either
IResolvableorCfnModelCard.TrainingJobDetailsProperty- See Also:
-
getTrainingObservations
Any observations about training.- See Also:
-
builder
-