Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix::ConfusionMatrixEntry.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotation_spec
def annotation_spec() -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec
Returns
- (::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec) — The annotation spec of a predicted label.
#annotation_spec=
def annotation_spec=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec) — The annotation spec of a predicted label.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec) — The annotation spec of a predicted label.
#item_count
def item_count() -> ::Integer
Returns
-
(::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.)
#item_count=
def item_count=(value) -> ::Integer
Parameter
-
value (::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.)
Returns
-
(::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.)