Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::ComputationBasedMetricSpec.
Specification for a computation based metric.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parameters
def parameters() -> ::Google::Protobuf::Struct
Returns
- (::Google::Protobuf::Struct) — Optional. A map of parameters for the metric, e.g. "rougeL".
#parameters=
def parameters=(value) -> ::Google::Protobuf::Struct
Parameter
- value (::Google::Protobuf::Struct) — Optional. A map of parameters for the metric, e.g. "rougeL".
Returns
- (::Google::Protobuf::Struct) — Optional. A map of parameters for the metric, e.g. "rougeL".
#type
def type() -> ::Google::Cloud::AIPlatform::V1::ComputationBasedMetricSpec::ComputationBasedMetricType
Returns
- (::Google::Cloud::AIPlatform::V1::ComputationBasedMetricSpec::ComputationBasedMetricType) — Required. The type of the computation based metric.
#type=
def type=(value) -> ::Google::Cloud::AIPlatform::V1::ComputationBasedMetricSpec::ComputationBasedMetricType
Parameter
- value (::Google::Cloud::AIPlatform::V1::ComputationBasedMetricSpec::ComputationBasedMetricType) — Required. The type of the computation based metric.
Returns
- (::Google::Cloud::AIPlatform::V1::ComputationBasedMetricSpec::ComputationBasedMetricType) — Required. The type of the computation based metric.