class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ConfusionMatrix

Confusion matrix of the model running the classification. Only applicable when the metrics entry aggregates multiple labels. Not applicable when the entry is for a single label.

Attributes

row[RW]

Corresponds to the JSON property `row` @return [Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Row>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 1407
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 1412
def update!(**args)
  @row = args[:row] if args.key?(:row)
end