AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::OperatorMetadata (v0.9.0)

Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::OperatorMetadata.

General information useful for labels coming from contributors.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#comments

def comments() -> ::Array<::String>
Returns
  • (::Array<::String>) — Comments from contributors.

#comments=

def comments=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Comments from contributors.
Returns
  • (::Array<::String>) — Comments from contributors.

#label_votes

def label_votes() -> ::Integer
Returns
  • (::Integer) — The total number of contributors that choose this label.

#label_votes=

def label_votes=(value) -> ::Integer
Parameter
  • value (::Integer) — The total number of contributors that choose this label.
Returns
  • (::Integer) — The total number of contributors that choose this label.

#score

def score() -> ::Float
Returns
  • (::Float) — 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).

#score=

def score=(value) -> ::Float
Parameter
  • value (::Float) — 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).
Returns
  • (::Float) — 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).

#total_votes

def total_votes() -> ::Integer
Returns
  • (::Integer) — The total number of contributors that answer this question.

#total_votes=

def total_votes=(value) -> ::Integer
Parameter
  • value (::Integer) — The total number of contributors that answer this question.
Returns
  • (::Integer) — The total number of contributors that answer this question.