public sealed class ConfusionMatrix : IMessage<ConfusionMatrix>, IEquatable<ConfusionMatrix>, IDeepCloneable<ConfusionMatrix>, IBufferMessage, IMessage
Reference documentation and code samples for the Data Labeling v1beta1 API class ConfusionMatrix.
Confusion matrix of the model running the classification. Only applicable
when the metrics entry aggregates multiple labels. Not applicable when the
entry is for a single label.
[[["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\u003eThe \u003ccode\u003eConfusionMatrix\u003c/code\u003e class in the Data Labeling v1beta1 API is used to represent the confusion matrix of a model's classification results, applicable when aggregating multiple labels.\u003c/p\u003e\n"],["\u003cp\u003eThis class, part of the \u003ccode\u003eGoogle.Cloud.DataLabeling.V1Beta1\u003c/code\u003e namespace, 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConfusionMatrix\u003c/code\u003e class is derived from the base \u003ccode\u003eobject\u003c/code\u003e class and includes inherited members like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003eRow\u003c/code\u003e property of type \u003ccode\u003eRepeatedField\u003c/code\u003e that contains the rows of the confusion matrix.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for creating an instance of the class, one being empty, and the other taking another \u003ccode\u003eConfusionMatrix\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]