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.
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 the ground truth label for this row.
#annotation_spec=
def annotation_spec=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec) — The annotation spec of the ground truth label for this row.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec) — The annotation spec of the ground truth label for this row.
#entries
def entries() -> ::Array<::Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix::ConfusionMatrixEntry>
Returns
- (::Array<::Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix::ConfusionMatrixEntry>) — A list of the confusion matrix entries. One entry for each possible predicted label.
#entries=
def entries=(value) -> ::Array<::Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix::ConfusionMatrixEntry>
Parameter
- value (::Array<::Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix::ConfusionMatrixEntry>) — A list of the confusion matrix entries. One entry for each possible predicted label.
Returns
- (::Array<::Google::Cloud::DataLabeling::V1beta1::ConfusionMatrix::ConfusionMatrixEntry>) — A list of the confusion matrix entries. One entry for each possible predicted label.