Class: Google::Cloud::AIPlatform::V1::RougeSpec
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::RougeSpec
- 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
-
#rouge_type ⇒ ::String
Optional.
-
#split_summaries ⇒ ::Boolean
Optional.
-
#use_stemmer ⇒ ::Boolean
Optional.
Instance Attribute Details
#rouge_type ⇒ ::String
Returns 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.
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 |