Class: Google::Apis::BigqueryV2::DataSplitResult

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

Data split result. This contains references to the training and evaluation data tables that were used to train the model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataSplitResult

Returns a new instance of DataSplitResult.



1689
1690
1691
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1689

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

Instance Attribute Details

#evaluation_tableGoogle::Apis::BigqueryV2::TableReference

Table reference of the evaluation data after split. Corresponds to the JSON property evaluationTable



1677
1678
1679
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1677

def evaluation_table
  @evaluation_table
end

#test_tableGoogle::Apis::BigqueryV2::TableReference

Table reference of the test data after split. Corresponds to the JSON property testTable



1682
1683
1684
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1682

def test_table
  @test_table
end

#training_tableGoogle::Apis::BigqueryV2::TableReference

Table reference of the training data after split. Corresponds to the JSON property trainingTable



1687
1688
1689
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1687

def training_table
  @training_table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1694
1695
1696
1697
1698
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1694

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