public sealed class ClassificationMetrics : IMessage<ClassificationMetrics>, IEquatable<ClassificationMetrics>, IDeepCloneable<ClassificationMetrics>, IBufferMessage, IMessage
Reference documentation and code samples for the Data Labeling v1beta1 API class ClassificationMetrics.
[[["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 documentation details the \u003ccode\u003eClassificationMetrics\u003c/code\u003e class, part of the Google Cloud Data Labeling v1beta1 API, and is used to assess the performance of classification models.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eClassificationMetrics\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThere are three different versions of the ClassificationMetrics available in this documentation: the latest being 2.0.0-beta05, 2.0.0-beta04 and 1.0.0-beta03.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two properties: \u003ccode\u003eConfusionMatrix\u003c/code\u003e which is used for predicted labels vs ground truth labels, and \u003ccode\u003ePrCurve\u003c/code\u003e, which helps to analyze precision-recall based on predicted scores and labels.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for \u003ccode\u003eClassificationMetrics\u003c/code\u003e, one taking in no arguments and another taking in a \u003ccode\u003eClassificationMetrics\u003c/code\u003e object as an argument.\u003c/p\u003e\n"]]],[],null,[]]