Cloud AI Platform v1 API - Class RougeSpec (3.6.0)

public sealed class RougeSpec : IMessage<RougeSpec>, IEquatable<RougeSpec>, IDeepCloneable<RougeSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class RougeSpec.

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.

Inheritance

object > RougeSpec

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

RougeSpec()

public RougeSpec()

RougeSpec(RougeSpec)

public RougeSpec(RougeSpec other)
Parameter
Name Description
other RougeSpec

Properties

RougeType

public string RougeType { get; set; }

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

Property Value
Type Description
string

SplitSummaries

public bool SplitSummaries { get; set; }

Optional. Whether to split summaries while using rougeLsum.

Property Value
Type Description
bool

UseStemmer

public bool UseStemmer { get; set; }

Optional. Whether to use stemmer to compute rouge score.

Property Value
Type Description
bool