GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1OperatorMetadata (google_api_data_labeling v0.4.1)

View Source

General information useful for labels coming from contributors.

Attributes

  • comments (type: list(String.t), default: nil) - Comments from contributors.
  • labelVotes (type: integer(), default: nil) - The total number of contributors that choose this label.
  • score (type: number(), default: nil) - Confidence score corresponding to a label. For examle, if 3 contributors have answered the question and 2 of them agree on the final label, the confidence score will be 0.67 (2/3).
  • totalVotes (type: integer(), default: nil) - The total number of contributors that answer this question.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1OperatorMetadata{
    comments: [String.t()] | nil,
    labelVotes: integer() | nil,
    score: number() | nil,
    totalVotes: integer() | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.