Class: Google::Apis::BigqueryV2::Row

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

Overview

A single row in the confusion matrix.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Row

Returns a new instance of Row.



5511
5512
5513
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5511

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

Instance Attribute Details

#actual_labelString

The original label of this row. Corresponds to the JSON property actualLabel

Returns:

  • (String)


5504
5505
5506
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5504

def actual_label
  @actual_label
end

#entriesArray<Google::Apis::BigqueryV2::Entry>

Info describing predicted label distribution. Corresponds to the JSON property entries



5509
5510
5511
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5509

def entries
  @entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5516
5517
5518
5519
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5516

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