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.



6850
6851
6852
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6850

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)


6848
6849
6850
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6848

def trial_id
  @trial_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6855
6856
6857
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6855

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