StringValue
The string value of a categorical hyperparameter. If you specify a value for this parameter, you can't specify the NumberValue
parameter.
Inherited functions
Casts this TrialComponentParameterValue as a NumberValue and retrieves its kotlin.Double value. Throws an exception if the TrialComponentParameterValue is not a NumberValue.
Casts this TrialComponentParameterValue as a NumberValue and retrieves its kotlin.Double value. Returns null if the TrialComponentParameterValue is not a NumberValue.
Casts this TrialComponentParameterValue as a StringValue and retrieves its kotlin.String value. Throws an exception if the TrialComponentParameterValue is not a StringValue.
Casts this TrialComponentParameterValue as a StringValue and retrieves its kotlin.String value. Returns null if the TrialComponentParameterValue is not a StringValue.