Reference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::ClassificationEvaluationMetrics::ConfusionMatrix::Row.
Output only. A row in the confusion matrix.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#example_count
defexample_count()->::Array<::Integer>
Returns
(::Array<::Integer>) — Output only. Value of the specific cell in the confusion matrix.
The number of values each row has (i.e. the length of the row) is equal
to the length of the annotation_spec_id field or, if that one is not
populated, length of the display_name field.
#example_count=
defexample_count=(value)->::Array<::Integer>
Parameter
value (::Array<::Integer>) — Output only. Value of the specific cell in the confusion matrix.
The number of values each row has (i.e. the length of the row) is equal
to the length of the annotation_spec_id field or, if that one is not
populated, length of the display_name field.
Returns
(::Array<::Integer>) — Output only. Value of the specific cell in the confusion matrix.
The number of values each row has (i.e. the length of the row) is equal
to the length of the annotation_spec_id field or, if that one is not
populated, length of the display_name field.
[[["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-08-28 UTC."],[],[],null,["# Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::ClassificationEvaluationMetrics::ConfusionMatrix::Row (v1.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.1 (latest)](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ClassificationEvaluationMetrics-ConfusionMatrix-Row)\n- [1.3.0](/ruby/docs/reference/google-cloud-automl-v1/1.3.0/Google-Cloud-AutoML-V1-ClassificationEvaluationMetrics-ConfusionMatrix-Row)\n- [1.2.1](/ruby/docs/reference/google-cloud-automl-v1/1.2.1/Google-Cloud-AutoML-V1-ClassificationEvaluationMetrics-ConfusionMatrix-Row)\n- [1.1.0](/ruby/docs/reference/google-cloud-automl-v1/1.1.0/Google-Cloud-AutoML-V1-ClassificationEvaluationMetrics-ConfusionMatrix-Row)\n- [1.0.1](/ruby/docs/reference/google-cloud-automl-v1/1.0.1/Google-Cloud-AutoML-V1-ClassificationEvaluationMetrics-ConfusionMatrix-Row)\n- [0.10.0](/ruby/docs/reference/google-cloud-automl-v1/0.10.0/Google-Cloud-AutoML-V1-ClassificationEvaluationMetrics-ConfusionMatrix-Row)\n- [0.9.2](/ruby/docs/reference/google-cloud-automl-v1/0.9.2/Google-Cloud-AutoML-V1-ClassificationEvaluationMetrics-ConfusionMatrix-Row)\n- [0.8.0](/ruby/docs/reference/google-cloud-automl-v1/0.8.0/Google-Cloud-AutoML-V1-ClassificationEvaluationMetrics-ConfusionMatrix-Row)\n- [0.7.0](/ruby/docs/reference/google-cloud-automl-v1/0.7.0/Google-Cloud-AutoML-V1-ClassificationEvaluationMetrics-ConfusionMatrix-Row)\n- [0.6.0](/ruby/docs/reference/google-cloud-automl-v1/0.6.0/Google-Cloud-AutoML-V1-ClassificationEvaluationMetrics-ConfusionMatrix-Row)\n- [0.5.1](/ruby/docs/reference/google-cloud-automl-v1/0.5.1/Google-Cloud-AutoML-V1-ClassificationEvaluationMetrics-ConfusionMatrix-Row)\n- [0.4.8](/ruby/docs/reference/google-cloud-automl-v1/0.4.8/Google-Cloud-AutoML-V1-ClassificationEvaluationMetrics-ConfusionMatrix-Row) \nReference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::ClassificationEvaluationMetrics::ConfusionMatrix::Row.\n\nOutput only. A row in the confusion matrix. \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### #example_count\n\n def example_count() -\u003e ::Array\u003c::Integer\u003e\n\n**Returns**\n\n- (::Array\\\u003c::Integer\\\u003e) --- Output only. Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the `annotation_spec_id` field or, if that one is not populated, length of the [display_name](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ClassificationEvaluationMetrics-ConfusionMatrix#Google__Cloud__AutoML__V1__ClassificationEvaluationMetrics__ConfusionMatrix_display_name_instance_ \"Google::Cloud::AutoML::V1::ClassificationEvaluationMetrics::ConfusionMatrix#display_name (method)\") field.\n\n### #example_count=\n\n def example_count=(value) -\u003e ::Array\u003c::Integer\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::Integer\\\u003e) --- Output only. Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the `annotation_spec_id` field or, if that one is not populated, length of the [display_name](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ClassificationEvaluationMetrics-ConfusionMatrix#Google__Cloud__AutoML__V1__ClassificationEvaluationMetrics__ConfusionMatrix_display_name_instance_ \"Google::Cloud::AutoML::V1::ClassificationEvaluationMetrics::ConfusionMatrix#display_name (method)\") field. \n**Returns**\n\n- (::Array\\\u003c::Integer\\\u003e) --- Output only. Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the `annotation_spec_id` field or, if that one is not populated, length of the [display_name](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ClassificationEvaluationMetrics-ConfusionMatrix#Google__Cloud__AutoML__V1__ClassificationEvaluationMetrics__ConfusionMatrix_display_name_instance_ \"Google::Cloud::AutoML::V1::ClassificationEvaluationMetrics::ConfusionMatrix#display_name (method)\") field."]]