class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OperatorMetadata
General information useful for labels coming from contributors.
Attributes
comments[RW]
Comments from contributors. Corresponds to the JSON property `comments` @return [Array<String>]
label_votes[RW]
The total number of contributors that choose this label. Corresponds to the JSON property `labelVotes` @return [Fixnum]
score[RW]
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). Corresponds to the JSON property `score` @return [Float]
total_votes[RW]
The total number of contributors that answer this question. Corresponds to the JSON property `totalVotes` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 3882 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 3887 def update!(**args) @comments = args[:comments] if args.key?(:comments) @label_votes = args[:label_votes] if args.key?(:label_votes) @score = args[:score] if args.key?(:score) @total_votes = args[:total_votes] if args.key?(:total_votes) end