Class: Google::Apis::BigqueryV2::Row
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::Row
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/google/apis/bigquery_v2/representations.rb
Overview
A single row in the confusion matrix.
Instance Attribute Summary collapse
-
#actual_label ⇒ String
The original label of this row.
-
#entries ⇒ Array<Google::Apis::BigqueryV2::Entry>
Info describing predicted label distribution.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Row
constructor
A new instance of Row.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Row
Returns a new instance of Row
4405 4406 4407 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4405 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actual_label ⇒ String
The original label of this row.
Corresponds to the JSON property actualLabel
4398 4399 4400 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4398 def actual_label @actual_label end |
#entries ⇒ Array<Google::Apis::BigqueryV2::Entry>
Info describing predicted label distribution.
Corresponds to the JSON property entries
4403 4404 4405 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4403 def entries @entries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4410 4411 4412 4413 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4410 def update!(**args) @actual_label = args[:actual_label] if args.key?(:actual_label) @entries = args[:entries] if args.key?(:entries) end |