Cloud AI Platform v1beta1 API - Class RougeSpec (1.0.0-beta04)

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

Reference documentation and code samples for the Cloud AI Platform v1beta1 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.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.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