Class: Google::Apis::BigqueryV2::ModelDefinition
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::ModelDefinition
- 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
Defined Under Namespace
Classes: ModelOptions
Instance Attribute Summary collapse
-
#model_options ⇒ Google::Apis::BigqueryV2::ModelDefinition::ModelOptions
[Output-only, Beta] Model options used for the first training run.
-
#training_runs ⇒ Array<Google::Apis::BigqueryV2::BqmlTrainingRun>
[Output-only, Beta] Information about ml training runs, each training run comprises of multiple iterations and there may be multiple training runs for the model if warm start is used or if a user decides to continue a previously cancelled query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ModelDefinition
constructor
A new instance of ModelDefinition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ModelDefinition
Returns a new instance of ModelDefinition.
5452 5453 5454 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5452 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model_options ⇒ Google::Apis::BigqueryV2::ModelDefinition::ModelOptions
[Output-only, Beta] Model options used for the first training run. These
options are immutable for subsequent training runs. Default values are used
for any options not specified in the input query.
Corresponds to the JSON property modelOptions
5442 5443 5444 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5442 def @model_options end |
#training_runs ⇒ Array<Google::Apis::BigqueryV2::BqmlTrainingRun>
[Output-only, Beta] Information about ml training runs, each training run
comprises of multiple iterations and there may be multiple training runs for
the model if warm start is used or if a user decides to continue a previously
cancelled query.
Corresponds to the JSON property trainingRuns
5450 5451 5452 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5450 def training_runs @training_runs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5457 5458 5459 5460 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5457 def update!(**args) @model_options = args[:model_options] if args.key?(:model_options) @training_runs = args[:training_runs] if args.key?(:training_runs) end |