Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ConfusionMatrix
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ConfusionMatrix
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datalabeling_v1beta1/classes.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb,
lib/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
-
#row ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Row>
Corresponds to the JSON property
row
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ConfusionMatrix
constructor
A new instance of GoogleCloudDatalabelingV1beta1ConfusionMatrix.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ConfusionMatrix
Returns a new instance of GoogleCloudDatalabelingV1beta1ConfusionMatrix.
1407 1408 1409 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1407 def initialize(**args) update!(**args) end |
Instance Attribute Details
#row ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Row>
Corresponds to the JSON property row
1405 1406 1407 |
# File 'lib/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 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1412 def update!(**args) @row = args[:row] if args.key?(:row) end |