Class: Google::Apis::BigqueryV2::ModelExtractOptions

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

Options related to model extraction.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ModelExtractOptions

Returns a new instance of ModelExtractOptions.



6830
6831
6832
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6830

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

Instance Attribute Details

#trial_idFixnum

The 1-based ID of the trial to be exported from a hyperparameter tuning model. If not specified, the trial with id = Model.defaultTrialId is exported. This field is ignored for models not trained with hyperparameter tuning. Corresponds to the JSON property trialId

Returns:

  • (Fixnum)


6828
6829
6830
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6828

def trial_id
  @trial_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6835
6836
6837
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6835

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