Skip to content
v2.277.0

HyperParameterTuningJobObjectiveProperty Struct ​

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 hyperParameterTuningJobObjectiveProperty: sagemaker.CfnAlgorithm.HyperParameterTuningJobObjectiveProperty = {
  metricName: 'metricName',
  type: 'type',
};
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

hyper_parameter_tuning_job_objective_property = sagemaker.CfnAlgorithm.HyperParameterTuningJobObjectiveProperty(
    metric_name="metricName",
    type="type"
)
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.*;

HyperParameterTuningJobObjectiveProperty hyperParameterTuningJobObjectiveProperty = HyperParameterTuningJobObjectiveProperty.builder()
        .metricName("metricName")
        .type("type")
        .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 hyperParameterTuningJobObjectiveProperty = new HyperParameterTuningJobObjectiveProperty {
    MetricName = "metricName",
    Type = "type"
};
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"

hyperParameterTuningJobObjectiveProperty := &HyperParameterTuningJobObjectiveProperty{
	MetricName: jsii.String("metricName"),
	Type: jsii.String("type"),
}

Properties ​

metricNamestringmetric_namestrmetricNameStringMetricNamestringMetricName*string required #
typestringtypestrtypeStringTypestringType*string required #