Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BleuSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

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.

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1BleuSpec

Returns a new instance of GoogleCloudAiplatformV1beta1BleuSpec.



2488
2489
2490
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2488

def initialize(**args)
   update!(**args)
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2493
2494
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2493

def update!(**args)
end