Class: Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix
- Inherits:
-
Object
- Object
- Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/datalabeling/v1beta1/evaluation.rb
Overview
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.
Defined Under Namespace
Classes: ConfusionMatrixEntry, Row
Instance Attribute Summary collapse
Instance Attribute Details
#row ⇒ ::Array<::Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix::Row>
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/evaluation.rb', line 192 class ConfusionMatrix include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] annotation_spec # @return [::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec] # The annotation spec of a predicted label. # @!attribute [rw] item_count # @return [::Integer] # Number of items predicted to have this label. (The ground truth label for # these items is the `Row.annotationSpec` of this entry's parent.) class ConfusionMatrixEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A row in the confusion matrix. Each entry in this row has the same # ground truth label. # @!attribute [rw] annotation_spec # @return [::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec] # The annotation spec of the ground truth label for this row. # @!attribute [rw] entries # @return [::Array<::Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix::ConfusionMatrixEntry>] # A list of the confusion matrix entries. One entry for each possible # predicted label. class Row include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |