Class: Google::Cloud::AIPlatform::V1::RougeSpec

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#rouge_type::String

Returns Optional. Supported rouge types are rougen[1-9], rougeL, and rougeLsum.

Returns:

  • (::String)

    Optional. Supported rouge types are rougen[1-9], rougeL, and rougeLsum.



341
342
343
344
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 341

class RougeSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#split_summaries::Boolean

Returns Optional. Whether to split summaries while using rougeLsum.

Returns:

  • (::Boolean)

    Optional. Whether to split summaries while using rougeLsum.



341
342
343
344
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 341

class RougeSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#use_stemmer::Boolean

Returns Optional. Whether to use stemmer to compute rouge score.

Returns:

  • (::Boolean)

    Optional. Whether to use stemmer to compute rouge score.



341
342
343
344
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 341

class RougeSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end