public sealed class Evaluation.Types.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 v1beta3 API class Evaluation.Types.Metrics.
Evaluation metrics, either in aggregate or about a specific entity.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides reference documentation and code samples for the \u003ccode\u003eEvaluation.Types.Metrics\u003c/code\u003e class within the Cloud Document AI v1beta3 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEvaluation.Types.Metrics\u003c/code\u003e class represents evaluation metrics, applicable to either an aggregate or a specific entity.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of this class include metrics such as \u003ccode\u003eF1Score\u003c/code\u003e, \u003ccode\u003ePrecision\u003c/code\u003e, \u003ccode\u003eRecall\u003c/code\u003e, \u003ccode\u003eFalseNegativesCount\u003c/code\u003e, \u003ccode\u003eFalsePositivesCount\u003c/code\u003e, and counts related to predicted and ground truth documents and occurrences.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this class is \u003ccode\u003eGoogle.Cloud.DocumentAI.V1Beta3\u003c/code\u003e, and the assembly is located in the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1Beta3.dll\u003c/code\u003e file.\u003c/p\u003e\n"]]],[],null,["# Cloud Document AI v1beta3 API - Class Evaluation.Types.Metrics (2.0.0-beta26)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta26 (latest)](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Evaluation.Types.Metrics)\n- [2.0.0-beta25](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/2.0.0-beta25/Google.Cloud.DocumentAI.V1Beta3.Evaluation.Types.Metrics)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/1.0.0-beta04/Google.Cloud.DocumentAI.V1Beta3.Evaluation.Types.Metrics) \n\n public sealed class Evaluation.Types.Metrics : IMessage\u003cEvaluation.Types.Metrics\u003e, IEquatable\u003cEvaluation.Types.Metrics\u003e, IDeepCloneable\u003cEvaluation.Types.Metrics\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Document AI v1beta3 API class Evaluation.Types.Metrics.\n\nEvaluation metrics, either in aggregate or about a specific entity. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Evaluation.Types.Metrics \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Evaluation](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Evaluation)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Evaluation.Types)[Metrics](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Evaluation.Types.Metrics), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Evaluation](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Evaluation)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Evaluation.Types)[Metrics](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Evaluation.Types.Metrics), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Evaluation](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Evaluation)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Evaluation.Types)[Metrics](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.Evaluation.Types.Metrics), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DocumentAI.V1Beta3](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3)\n\nAssembly\n--------\n\nGoogle.Cloud.DocumentAI.V1Beta3.dll\n\nConstructors\n------------\n\n### Metrics()\n\n public Metrics()\n\n### Metrics(Metrics)\n\n public Metrics(Evaluation.Types.Metrics other)\n\nProperties\n----------\n\n### F1Score\n\n public float F1Score { get; set; }\n\nThe calculated f1 score.\n\n### FalseNegativesCount\n\n public int FalseNegativesCount { get; set; }\n\nThe amount of false negatives.\n\n### FalsePositivesCount\n\n public int FalsePositivesCount { get; set; }\n\nThe amount of false positives.\n\n### GroundTruthDocumentCount\n\n public int GroundTruthDocumentCount { get; set; }\n\nThe amount of documents with a ground truth occurrence.\n\n### GroundTruthOccurrencesCount\n\n public int GroundTruthOccurrencesCount { get; set; }\n\nThe amount of occurrences in ground truth documents.\n\n### Precision\n\n public float Precision { get; set; }\n\nThe calculated precision.\n\n### PredictedDocumentCount\n\n public int PredictedDocumentCount { get; set; }\n\nThe amount of documents with a predicted occurrence.\n\n### PredictedOccurrencesCount\n\n public int PredictedOccurrencesCount { get; set; }\n\nThe amount of occurrences in predicted documents.\n\n### Recall\n\n public float Recall { get; set; }\n\nThe calculated recall.\n\n### TotalDocumentsCount\n\n public int TotalDocumentsCount { get; set; }\n\nThe amount of documents that had an occurrence of this label.\n\n### TruePositivesCount\n\n public int TruePositivesCount { get; set; }\n\nThe amount of true positives."]]