Class: Google::Apis::BigqueryV2::MlStatistics
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::MlStatistics
- 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
Job statistics specific to a BigQuery ML training job.
Instance Attribute Summary collapse
-
#hparam_trials ⇒ Array<Google::Apis::BigqueryV2::HparamTuningTrial>
Output only.
-
#iteration_results ⇒ Array<Google::Apis::BigqueryV2::IterationResult>
Results for all completed iterations.
-
#max_iterations ⇒ Fixnum
Output only.
-
#model_type ⇒ String
Output only.
-
#training_type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MlStatistics
constructor
A new instance of MlStatistics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MlStatistics
Returns a new instance of MlStatistics.
6600 6601 6602 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6600 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hparam_trials ⇒ Array<Google::Apis::BigqueryV2::HparamTuningTrial>
Output only. Trials of a hyperparameter tuning job
sorted by trial_id.
Corresponds to the JSON property hparamTrials
6574 6575 6576 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6574 def hparam_trials @hparam_trials end |
#iteration_results ⇒ Array<Google::Apis::BigqueryV2::IterationResult>
Results for all completed iterations. Empty for hyperparameter tuning jobs.
Corresponds to the JSON property iterationResults
6581 6582 6583 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6581 def iteration_results @iteration_results end |
#max_iterations ⇒ Fixnum
Output only. Maximum number of iterations specified as max_iterations in the '
CREATE MODEL' query. The actual number of iterations may be less than this
number due to early stop.
Corresponds to the JSON property maxIterations
6588 6589 6590 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6588 def max_iterations @max_iterations end |
#model_type ⇒ String
Output only. The type of the model that is being trained.
Corresponds to the JSON property modelType
6593 6594 6595 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6593 def model_type @model_type end |
#training_type ⇒ String
Output only. Training type of the job.
Corresponds to the JSON property trainingType
6598 6599 6600 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6598 def training_type @training_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6605 6606 6607 6608 6609 6610 6611 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6605 def update!(**args) @hparam_trials = args[:hparam_trials] if args.key?(:hparam_trials) @iteration_results = args[:iteration_results] if args.key?(:iteration_results) @max_iterations = args[:max_iterations] if args.key?(:max_iterations) @model_type = args[:model_type] if args.key?(:model_type) @training_type = args[:training_type] if args.key?(:training_type) end |