Class: Google::Cloud::DataLabeling::V1beta1::Annotation
- Inherits:
-
Object
- Object
- Google::Cloud::DataLabeling::V1beta1::Annotation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb
Overview
Annotation for Example. Each example may have one or more annotations. For example in image classification problem, each image might have one or more labels. We call labels binded with this image an Annotation.
Instance Attribute Summary collapse
-
#annotation_metadata ⇒ ::Google::Cloud::DataLabeling::V1beta1::AnnotationMetadata
Output only.
-
#annotation_sentiment ⇒ ::Google::Cloud::DataLabeling::V1beta1::AnnotationSentiment
Output only.
-
#annotation_source ⇒ ::Google::Cloud::DataLabeling::V1beta1::AnnotationSource
Output only.
-
#annotation_value ⇒ ::Google::Cloud::DataLabeling::V1beta1::AnnotationValue
Output only.
-
#name ⇒ ::String
Output only.
Instance Attribute Details
#annotation_metadata ⇒ ::Google::Cloud::DataLabeling::V1beta1::AnnotationMetadata
Returns Output only. Annotation metadata, including information like votes for labels.
46 47 48 49 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 46 class Annotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#annotation_sentiment ⇒ ::Google::Cloud::DataLabeling::V1beta1::AnnotationSentiment
Returns Output only. Sentiment for this annotation.
46 47 48 49 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 46 class Annotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#annotation_source ⇒ ::Google::Cloud::DataLabeling::V1beta1::AnnotationSource
Returns Output only. The source of the annotation.
46 47 48 49 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 46 class Annotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#annotation_value ⇒ ::Google::Cloud::DataLabeling::V1beta1::AnnotationValue
Returns Output only. This is the actual annotation value, e.g classification, bounding box values are stored here.
46 47 48 49 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 46 class Annotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Output only. Unique name of this annotation, format is:
projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id}.
46 47 48 49 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 46 class Annotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |