Cloud Document AI v1 API - Class Evaluation.Types.Metrics (3.6.0)

public sealed class Metrics : IMessage<Evaluation.Types.Metrics>, IEquatable<Evaluation.Types.Metrics>, IDeepCloneable<Evaluation.Types.Metrics>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Document AI v1 API class Evaluation.Types.Metrics.

Evaluation metrics, either in aggregate or about a specific entity.

Inheritance

Object > Evaluation.Types.Metrics

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

Metrics()

public Metrics()

Metrics(Evaluation.Types.Metrics)

public Metrics(Evaluation.Types.Metrics other)
Parameter
NameDescription
otherEvaluation.Types.Metrics

Properties

F1Score

public float F1Score { get; set; }

The calculated f1 score.

Property Value
TypeDescription
Single

FalseNegativesCount

public int FalseNegativesCount { get; set; }

The amount of false negatives.

Property Value
TypeDescription
Int32

FalsePositivesCount

public int FalsePositivesCount { get; set; }

The amount of false positives.

Property Value
TypeDescription
Int32

GroundTruthDocumentCount

public int GroundTruthDocumentCount { get; set; }

The amount of documents with a ground truth occurrence.

Property Value
TypeDescription
Int32

GroundTruthOccurrencesCount

public int GroundTruthOccurrencesCount { get; set; }

The amount of occurrences in ground truth documents.

Property Value
TypeDescription
Int32

Precision

public float Precision { get; set; }

The calculated precision.

Property Value
TypeDescription
Single

PredictedDocumentCount

public int PredictedDocumentCount { get; set; }

The amount of documents with a predicted occurrence.

Property Value
TypeDescription
Int32

PredictedOccurrencesCount

public int PredictedOccurrencesCount { get; set; }

The amount of occurrences in predicted documents.

Property Value
TypeDescription
Int32

Recall

public float Recall { get; set; }

The calculated recall.

Property Value
TypeDescription
Single

TotalDocumentsCount

public int TotalDocumentsCount { get; set; }

The amount of documents that had an occurrence of this label.

Property Value
TypeDescription
Int32

TruePositivesCount

public int TruePositivesCount { get; set; }

The amount of true positives.

Property Value
TypeDescription
Int32