public sealed class StudySpec.Types.ParameterSpec : IMessage<StudySpec.Types.ParameterSpec>, IEquatable<StudySpec.Types.ParameterSpec>, IDeepCloneable<StudySpec.Types.ParameterSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class StudySpec.Types.ParameterSpec.
Represents a single parameter to optimize.
Implements
IMessageStudySpecTypesParameterSpec, IEquatableStudySpecTypesParameterSpec, IDeepCloneableStudySpecTypesParameterSpec, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
ParameterSpec()
public ParameterSpec()
ParameterSpec(ParameterSpec)
public ParameterSpec(StudySpec.Types.ParameterSpec other)
Parameter | |
---|---|
Name | Description |
other |
StudySpecTypesParameterSpec |
Properties
CategoricalValueSpec
public StudySpec.Types.ParameterSpec.Types.CategoricalValueSpec CategoricalValueSpec { get; set; }
The value spec for a 'CATEGORICAL' parameter.
Property Value | |
---|---|
Type | Description |
StudySpecTypesParameterSpecTypesCategoricalValueSpec |
ConditionalParameterSpecs
public RepeatedField<StudySpec.Types.ParameterSpec.Types.ConditionalParameterSpec> ConditionalParameterSpecs { get; }
A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition.
If two items in conditional_parameter_specs have the same name, they must have disjoint parent_value_condition.
Property Value | |
---|---|
Type | Description |
RepeatedFieldStudySpecTypesParameterSpecTypesConditionalParameterSpec |
DiscreteValueSpec
public StudySpec.Types.ParameterSpec.Types.DiscreteValueSpec DiscreteValueSpec { get; set; }
The value spec for a 'DISCRETE' parameter.
Property Value | |
---|---|
Type | Description |
StudySpecTypesParameterSpecTypesDiscreteValueSpec |
DoubleValueSpec
public StudySpec.Types.ParameterSpec.Types.DoubleValueSpec DoubleValueSpec { get; set; }
The value spec for a 'DOUBLE' parameter.
Property Value | |
---|---|
Type | Description |
StudySpecTypesParameterSpecTypesDoubleValueSpec |
IntegerValueSpec
public StudySpec.Types.ParameterSpec.Types.IntegerValueSpec IntegerValueSpec { get; set; }
The value spec for an 'INTEGER' parameter.
Property Value | |
---|---|
Type | Description |
StudySpecTypesParameterSpecTypesIntegerValueSpec |
ParameterId
public string ParameterId { get; set; }
Required. The ID of the parameter. Must not contain whitespaces and must be unique amongst all ParameterSpecs.
Property Value | |
---|---|
Type | Description |
string |
ParameterValueSpecCase
public StudySpec.Types.ParameterSpec.ParameterValueSpecOneofCase ParameterValueSpecCase { get; }
Property Value | |
---|---|
Type | Description |
StudySpecTypesParameterSpecParameterValueSpecOneofCase |
ScaleType
public StudySpec.Types.ParameterSpec.Types.ScaleType ScaleType { get; set; }
How the parameter should be scaled.
Leave unset for CATEGORICAL
parameters.
Property Value | |
---|---|
Type | Description |
StudySpecTypesParameterSpecTypesScaleType |