Class: Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::DiscreteValueSpec
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::DiscreteValueSpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/study.rb
Overview
Value specification for a parameter in DISCRETE type.
Instance Attribute Summary collapse
-
#default_value ⇒ ::Float
A default value for a
DISCRETEparameter that is assumed to be a relatively good starting point. -
#values ⇒ ::Array<::Float>
Required.
Instance Attribute Details
#default_value ⇒ ::Float
Returns A default value for a DISCRETE parameter that is assumed to be a
relatively good starting point. Unset value signals that there is no
offered starting point. It automatically rounds to the
nearest feasible discrete point.
Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.
424 425 426 427 |
# File 'proto_docs/google/cloud/aiplatform/v1/study.rb', line 424 class DiscreteValueSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#values ⇒ ::Array<::Float>
Returns Required. A list of possible values. The list should be in increasing order and at least 1e-10 apart. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values.
424 425 426 427 |
# File 'proto_docs/google/cloud/aiplatform/v1/study.rb', line 424 class DiscreteValueSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |