Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::BleuSpec (v0.53.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::BleuSpec.

Spec for bleu score metric - calculates the precision of n-grams in the prediction as compared to reference - returns a score ranging between 0 to 1.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#use_effective_order

def use_effective_order() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether to use_effective_order to compute bleu score.

#use_effective_order=

def use_effective_order=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Whether to use_effective_order to compute bleu score.
Returns
  • (::Boolean) — Optional. Whether to use_effective_order to compute bleu score.