Class: Google::Cloud::AIPlatform::V1::NasJobSpec::MultiTrialAlgorithmSpec::MetricSpec
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::NasJobSpec::MultiTrialAlgorithmSpec::MetricSpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/nas_job.rb
Overview
Represents a metric to optimize.
Defined Under Namespace
Modules: GoalType
Instance Attribute Summary collapse
-
#goal ⇒ ::Google::Cloud::AIPlatform::V1::NasJobSpec::MultiTrialAlgorithmSpec::MetricSpec::GoalType
Required.
-
#metric_id ⇒ ::String
Required.
Instance Attribute Details
#goal ⇒ ::Google::Cloud::AIPlatform::V1::NasJobSpec::MultiTrialAlgorithmSpec::MetricSpec::GoalType
Returns Required. The optimization goal of the metric.
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 |
# File 'proto_docs/google/cloud/aiplatform/v1/nas_job.rb', line 167 class MetricSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The available types of optimization goals. module GoalType # Goal Type will default to maximize. GOAL_TYPE_UNSPECIFIED = 0 # Maximize the goal metric. MAXIMIZE = 1 # Minimize the goal metric. MINIMIZE = 2 end end |
#metric_id ⇒ ::String
Returns Required. The ID of the metric. Must not contain whitespaces.
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 |
# File 'proto_docs/google/cloud/aiplatform/v1/nas_job.rb', line 167 class MetricSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The available types of optimization goals. module GoalType # Goal Type will default to maximize. GOAL_TYPE_UNSPECIFIED = 0 # Maximize the goal metric. MAXIMIZE = 1 # Minimize the goal metric. MINIMIZE = 2 end end |