GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1Annotation (google_api_data_labeling v0.2.1) View Source

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.

Attributes

  • annotationMetadata (type: GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1AnnotationMetadata.t, default: nil) - Output only. Annotation metadata, including information like votes for labels.
  • annotationSentiment (type: String.t, default: nil) - Output only. Sentiment for this annotation.
  • annotationSource (type: String.t, default: nil) - Output only. The source of the annotation.
  • annotationValue (type: GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1AnnotationValue.t, default: nil) - Output only. This is the actual annotation value, e.g classification, bounding box values are stored here.
  • name (type: String.t, default: nil) - Output only. Unique name of this annotation, format is: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id}

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1Annotation{
    annotationMetadata:
      GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1AnnotationMetadata.t(),
    annotationSentiment: String.t(),
    annotationSource: String.t(),
    annotationValue:
      GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1AnnotationValue.t(),
    name: String.t()
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.