Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ConfusionMatrix

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/datalabeling_v1beta1/classes.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb

Overview

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ConfusionMatrix

Returns a new instance of GoogleCloudDatalabelingV1beta1ConfusionMatrix.



1407
1408
1409
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1407

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#rowArray<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Row>

Corresponds to the JSON property row



1405
1406
1407
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1405

def row
  @row
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1412
1413
1414
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1412

def update!(**args)
  @row = args[:row] if args.key?(:row)
end