Cloud AI Platform v1 API - Class MetricxInstance (3.12.0)

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

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

Spec for MetricX instance - The fields used for evaluation are dependent on the MetricX version.

Inheritance

object > MetricxInstance

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

MetricxInstance()

public MetricxInstance()

MetricxInstance(MetricxInstance)

public MetricxInstance(MetricxInstance other)
Parameter
Name Description
other MetricxInstance

Properties

HasPrediction

public bool HasPrediction { get; }

Gets whether the "prediction" field is set

Property Value
Type Description
bool

HasReference

public bool HasReference { get; }

Gets whether the "reference" field is set

Property Value
Type Description
bool

HasSource

public bool HasSource { get; }

Gets whether the "source" field is set

Property Value
Type Description
bool

Prediction

public string Prediction { get; set; }

Required. Output of the evaluated model.

Property Value
Type Description
string

Reference

public string Reference { get; set; }

Optional. Ground truth used to compare against the prediction.

Property Value
Type Description
string

Source

public string Source { get; set; }

Optional. Source text in original language.

Property Value
Type Description
string