Class: Google::Cloud::AIPlatform::V1::ComputationBasedMetricSpec

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb

Overview

Specification for a computation based metric.

Defined Under Namespace

Modules: ComputationBasedMetricType

Instance Attribute Summary collapse

Instance Attribute Details

#parameters::Google::Protobuf::Struct

Returns Optional. A map of parameters for the metric, e.g. "rougeL".

Returns:



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 561

class ComputationBasedMetricSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of computation based metrics.
  module ComputationBasedMetricType
    # Unspecified computation based metric type.
    COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED = 0

    # Exact match metric.
    EXACT_MATCH = 1

    # BLEU metric.
    BLEU = 2

    # ROUGE metric.
    ROUGE = 3
  end
end

#type::Google::Cloud::AIPlatform::V1::ComputationBasedMetricSpec::ComputationBasedMetricType

Returns Required. The type of the computation based metric.

Returns:



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 561

class ComputationBasedMetricSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of computation based metrics.
  module ComputationBasedMetricType
    # Unspecified computation based metric type.
    COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED = 0

    # Exact match metric.
    EXACT_MATCH = 1

    # BLEU metric.
    BLEU = 2

    # ROUGE metric.
    ROUGE = 3
  end
end