Class: Google::Apis::LanguageV2::XpsTablesTrainResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTablesTrainResponse

Returns a new instance of XpsTablesTrainResponse.



3956
3957
3958
# File 'lib/google/apis/language_v2/classes.rb', line 3956

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

Instance Attribute Details

#model_structureGoogle::Apis::LanguageV2::XpsTablesModelStructure

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



3936
3937
3938
# File 'lib/google/apis/language_v2/classes.rb', line 3936

def model_structure
  @model_structure
end

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

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



3941
3942
3943
# File 'lib/google/apis/language_v2/classes.rb', line 3941

def prediction_sample_rows
  @prediction_sample_rows
end

#tables_model_column_infoArray<Google::Apis::LanguageV2::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



3947
3948
3949
# File 'lib/google/apis/language_v2/classes.rb', line 3947

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)


3954
3955
3956
# File 'lib/google/apis/language_v2/classes.rb', line 3954

def train_cost_milli_node_hours
  @train_cost_milli_node_hours
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3961
3962
3963
3964
3965
3966
# File 'lib/google/apis/language_v2/classes.rb', line 3961

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