GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1OperatorMetadata (google_api_data_labeling v0.2.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.

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.GoogleCloudDatalabelingV1beta1OperatorMetadata{
    comments: [String.t()],
    labelVotes: integer(),
    score: number(),
    totalVotes: integer()
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.