Class: Google::Apis::LanguageV1beta2::XpsTablesTrainResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTablesTrainResponse

Returns a new instance of XpsTablesTrainResponse.



4257
4258
4259
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4257

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

Instance Attribute Details

#model_structureGoogle::Apis::LanguageV1beta2::XpsTablesModelStructure

A description of Tables model structure. Corresponds to the JSON property modelStructure



4237
4238
4239
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4237

def model_structure
  @model_structure
end

#prediction_sample_rowsArray<Google::Apis::LanguageV1beta2::XpsRow>

Sample rows from the dataset this model was trained. Corresponds to the JSON property predictionSampleRows



4242
4243
4244
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4242

def prediction_sample_rows
  @prediction_sample_rows
end

#tables_model_column_infoArray<Google::Apis::LanguageV1beta2::XpsTablesModelColumnInfo>

Output only. Auxiliary information for each of the input_feature_column_specs, with respect to this particular model. Corresponds to the JSON property tablesModelColumnInfo



4248
4249
4250
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4248

def tables_model_column_info
  @tables_model_column_info
end

#train_cost_milli_node_hoursFixnum

The actual training cost of the model, expressed in milli node hours, i.e. 1, 000 value in this field means 1 node hour. Guaranteed to not exceed the train budget. Corresponds to the JSON property trainCostMilliNodeHours

Returns:

  • (Fixnum)


4255
4256
4257
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4255

def train_cost_milli_node_hours
  @train_cost_milli_node_hours
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4262
4263
4264
4265
4266
4267
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4262

def update!(**args)
  @model_structure = args[:model_structure] if args.key?(:model_structure)
  @prediction_sample_rows = args[:prediction_sample_rows] if args.key?(:prediction_sample_rows)
  @tables_model_column_info = args[:tables_model_column_info] if args.key?(:tables_model_column_info)
  @train_cost_milli_node_hours = args[:train_cost_milli_node_hours] if args.key?(:train_cost_milli_node_hours)
end