TrialComponentParameterValueProperty Struct
The value of a hyperparameter.
Only one of StringValue or NumberValue can be specified.
| Source | |
|---|---|
| Type last changed |
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 trialComponentParameterValueProperty: sagemaker.CfnTrialComponent.TrialComponentParameterValueProperty = {
numberValue: 123,
stringValue: 'stringValue',
};
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
trial_component_parameter_value_property = sagemaker.CfnTrialComponent.TrialComponentParameterValueProperty(
number_value=123,
string_value="stringValue"
)
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.*;
TrialComponentParameterValueProperty trialComponentParameterValueProperty = TrialComponentParameterValueProperty.builder()
.numberValue(123)
.stringValue("stringValue")
.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 trialComponentParameterValueProperty = new TrialComponentParameterValueProperty {
NumberValue = 123,
StringValue = "stringValue"
};
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"
trialComponentParameterValueProperty := &TrialComponentParameterValueProperty{
NumberValue: jsii.Number(123),
StringValue: jsii.String("stringValue"),
}
Properties
numberValueoptionalnumbernumber_valueoptionalint | floatnumberValueoptionalNumberNumberValueoptionaldoubleNumberValueoptional*float64 #The numeric value of a numeric hyperparameter.
stringValueoptionalstringstring_valueoptionalstrstringValueoptionalStringStringValueoptionalstringStringValueoptional*string #The string value of a categorical hyperparameter.