Cloud AI Platform v1beta1 API - Class EvaluatedAnnotation (1.0.0-beta01)

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

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

True positive, false positive, or false negative.

EvaluatedAnnotation is only available under ModelEvaluationSlice with slice of annotationSpec dimension.

Inheritance

object > EvaluatedAnnotation

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

EvaluatedAnnotation()

public EvaluatedAnnotation()

EvaluatedAnnotation(EvaluatedAnnotation)

public EvaluatedAnnotation(EvaluatedAnnotation other)
Parameter
Name Description
other EvaluatedAnnotation

Properties

DataItemPayload

public Value DataItemPayload { get; set; }

Output only. The data item payload that the Model predicted this EvaluatedAnnotation on.

Property Value
Type Description
Value

ErrorAnalysisAnnotations

public RepeatedField<ErrorAnalysisAnnotation> ErrorAnalysisAnnotations { get; }

Annotations of model error analysis results.

Property Value
Type Description
RepeatedFieldErrorAnalysisAnnotation

EvaluatedDataItemViewId

public string EvaluatedDataItemViewId { get; set; }

Output only. ID of the EvaluatedDataItemView under the same ancestor ModelEvaluation. The EvaluatedDataItemView consists of all ground truths and predictions on [data_item_payload][google.cloud.aiplatform.v1beta1.EvaluatedAnnotation.data_item_payload].

Property Value
Type Description
string

Explanations

public RepeatedField<EvaluatedAnnotationExplanation> Explanations { get; }

Explanations of [predictions][google.cloud.aiplatform.v1beta1.EvaluatedAnnotation.predictions]. Each element of the explanations indicates the explanation for one explanation Method.

The attributions list in the [EvaluatedAnnotationExplanation.explanation][google.cloud.aiplatform.v1beta1.EvaluatedAnnotationExplanation.explanation] object corresponds to the [predictions][google.cloud.aiplatform.v1beta1.EvaluatedAnnotation.predictions] list. For example, the second element in the attributions list explains the second element in the predictions list.

Property Value
Type Description
RepeatedFieldEvaluatedAnnotationExplanation

GroundTruths

public RepeatedField<Value> GroundTruths { get; }

Output only. The ground truth Annotations, i.e. the Annotations that exist in the test data the Model is evaluated on.

For true positive, there is one and only one ground truth annotation, which matches the only prediction in [predictions][google.cloud.aiplatform.v1beta1.EvaluatedAnnotation.predictions].

For false positive, there are zero or more ground truth annotations that are similar to the only prediction in [predictions][google.cloud.aiplatform.v1beta1.EvaluatedAnnotation.predictions], but not enough for a match.

For false negative, there is one and only one ground truth annotation, which doesn't match any predictions created by the model.

The schema of the ground truth is stored in [ModelEvaluation.annotation_schema_uri][]

Property Value
Type Description
RepeatedFieldValue

Predictions

public RepeatedField<Value> Predictions { get; }

Output only. The model predicted annotations.

For true positive, there is one and only one prediction, which matches the only one ground truth annotation in [ground_truths][google.cloud.aiplatform.v1beta1.EvaluatedAnnotation.ground_truths].

For false positive, there is one and only one prediction, which doesn't match any ground truth annotation of the corresponding [data_item_view_id][EvaluatedAnnotation.data_item_view_id].

For false negative, there are zero or more predictions which are similar to the only ground truth annotation in [ground_truths][google.cloud.aiplatform.v1beta1.EvaluatedAnnotation.ground_truths] but not enough for a match.

The schema of the prediction is stored in [ModelEvaluation.annotation_schema_uri][]

Property Value
Type Description
RepeatedFieldValue

Type

public EvaluatedAnnotation.Types.EvaluatedAnnotationType Type { get; set; }

Output only. Type of the EvaluatedAnnotation.

Property Value
Type Description
EvaluatedAnnotationTypesEvaluatedAnnotationType