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.



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

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



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

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



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

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



4253
4254
4255
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4253

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)


4260
4261
4262
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4260

def train_cost_milli_node_hours
  @train_cost_milli_node_hours
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4267
4268
4269
4270
4271
4272
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4267

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