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.



6809
6810
6811
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6809

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)


6807
6808
6809
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6807

def trial_id
  @trial_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6814
6815
6816
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6814

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