Skip to content
v2.278.0

TrainingMetricProperty Struct ​

A result from a SageMaker AI training job.

Example ​

ts
// 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 trainingMetricProperty: sagemaker.CfnModelCard.TrainingMetricProperty = {
  name: 'name',
  value: 123,

  // the properties below are optional
  notes: 'notes',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

training_metric_property = sagemaker.CfnModelCard.TrainingMetricProperty(
    name="name",
    value=123,

    # the properties below are optional
    notes="notes"
)
java
// 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.*;

TrainingMetricProperty trainingMetricProperty = TrainingMetricProperty.builder()
        .name("name")
        .value(123)

        // the properties below are optional
        .notes("notes")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;

var trainingMetricProperty = new TrainingMetricProperty {
    Name = "name",
    Value = 123,

    // the properties below are optional
    Notes = "notes"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

trainingMetricProperty := &TrainingMetricProperty{
	Name: jsii.String("name"),
	Value: jsii.Number(123),

	// the properties below are optional
	Notes: jsii.String("notes"),
}

Properties ​

namestringnamestrnameStringNamestringName*string required #
The name of the result from the SageMaker AI training job.
notesoptionalstringnotesoptionalstrnotesoptionalStringNotesoptionalstringNotesoptional*string #
Any additional notes describing the result of the training job.
valuenumbervalueint | floatvalueNumberValuedoubleValue*float64 required #
The value of a result from the SageMaker AI training job.