Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix::Row.
A row in the confusion matrix. Each entry in this row has the same
ground truth label.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix::Row (v0.11.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.11.1 (latest)](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-ConfusionMatrix-Row)\n- [0.11.0](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.11.0/Google-Cloud-DataLabeling-V1beta1-ConfusionMatrix-Row)\n- [0.10.1](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.10.1/Google-Cloud-DataLabeling-V1beta1-ConfusionMatrix-Row)\n- [0.9.0](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.9.0/Google-Cloud-DataLabeling-V1beta1-ConfusionMatrix-Row)\n- [0.8.1](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.8.1/Google-Cloud-DataLabeling-V1beta1-ConfusionMatrix-Row)\n- [0.7.2](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.7.2/Google-Cloud-DataLabeling-V1beta1-ConfusionMatrix-Row)\n- [0.6.0](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.6.0/Google-Cloud-DataLabeling-V1beta1-ConfusionMatrix-Row)\n- [0.5.0](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.5.0/Google-Cloud-DataLabeling-V1beta1-ConfusionMatrix-Row)\n- [0.4.0](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.4.0/Google-Cloud-DataLabeling-V1beta1-ConfusionMatrix-Row)\n- [0.3.5](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.3.5/Google-Cloud-DataLabeling-V1beta1-ConfusionMatrix-Row) \nReference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix::Row.\n\nA row in the confusion matrix. Each entry in this row has the same\nground truth label. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #annotation_spec\n\n def annotation_spec() -\u003e ::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec\n\n**Returns**\n\n- ([::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec](./Google-Cloud-DataLabeling-V1beta1-AnnotationSpec)) --- The annotation spec of the ground truth label for this row.\n\n### #annotation_spec=\n\n def annotation_spec=(value) -\u003e ::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec\n\n**Parameter**\n\n- **value** ([::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec](./Google-Cloud-DataLabeling-V1beta1-AnnotationSpec)) --- The annotation spec of the ground truth label for this row. \n**Returns**\n\n- ([::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec](./Google-Cloud-DataLabeling-V1beta1-AnnotationSpec)) --- The annotation spec of the ground truth label for this row.\n\n### #entries\n\n def entries() -\u003e ::Array\u003c::Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix::ConfusionMatrixEntry\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix::ConfusionMatrixEntry](./Google-Cloud-DataLabeling-V1beta1-ConfusionMatrix-ConfusionMatrixEntry)\\\u003e) --- A list of the confusion matrix entries. One entry for each possible predicted label.\n\n### #entries=\n\n def entries=(value) -\u003e ::Array\u003c::Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix::ConfusionMatrixEntry\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix::ConfusionMatrixEntry](./Google-Cloud-DataLabeling-V1beta1-ConfusionMatrix-ConfusionMatrixEntry)\\\u003e) --- A list of the confusion matrix entries. One entry for each possible predicted label. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix::ConfusionMatrixEntry](./Google-Cloud-DataLabeling-V1beta1-ConfusionMatrix-ConfusionMatrixEntry)\\\u003e) --- A list of the confusion matrix entries. One entry for each possible predicted label."]]