GoogleCloudAiplatformV1RougeSpec class
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.
Constructors
- GoogleCloudAiplatformV1RougeSpec.new({String? rougeType, bool? splitSummaries, bool? useStemmer})
- GoogleCloudAiplatformV1RougeSpec.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- rougeType ↔ String?
-
Supported rouge types are rougen[1-9], rougeL, and rougeLsum.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- splitSummaries ↔ bool?
-
Whether to split summaries while using rougeLsum.
getter/setter pair
- useStemmer ↔ bool?
-
Whether to use stemmer to compute rouge score.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited