Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class OperatorMetadata.
General information useful for labels coming from contributors.
Generated from protobuf message google.cloud.datalabeling.v1beta1.OperatorMetadata
Namespace
Google \ Cloud \ DataLabeling \ V1beta1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ score
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
int
The total number of contributors that answer this question.
↳ label_votes
int
The total number of contributors that choose this label.
↳ comments
array
Comments from contributors.
getScore
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).
float
setScore
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).
var
float
$this
getTotalVotes
The total number of contributors that answer this question.
int
setTotalVotes
The total number of contributors that answer this question.
var
int
$this
getLabelVotes
The total number of contributors that choose this label.
int
setLabelVotes
The total number of contributors that choose this label.
var
int
$this
getComments
Comments from contributors.
setComments
Comments from contributors.
var
string[]
$this