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

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

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class BleuSpec.

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

Inheritance

object > BleuSpec

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

BleuSpec()

public BleuSpec()

BleuSpec(BleuSpec)

public BleuSpec(BleuSpec other)
Parameter
Name Description
other BleuSpec

Properties

UseEffectiveOrder

public bool UseEffectiveOrder { get; set; }

Optional. Whether to use_effective_order to compute bleu score.

Property Value
Type Description
bool