Cloud AI Platform v1 API - Class BleuSpec (3.6.0)

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

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

Assembly

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