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

Inherits:
Object
  • Object
show all
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

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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DataSplitResult

Returns a new instance of DataSplitResult.



1056
1057
1058
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1056

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



1049
1050
1051
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1049

def evaluation_table
  @evaluation_table
end

#training_tableGoogle::Apis::BigqueryV2::TableReference

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



1054
1055
1056
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1054

def training_table
  @training_table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1061
1062
1063
1064
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1061

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