Class: Google::Apis::BigqueryV2::TrainingRun
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::TrainingRun
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/google/apis/bigquery_v2/representations.rb
Overview
Information about a single training query run for the model.
Instance Attribute Summary collapse
-
#evaluation_metrics ⇒ Google::Apis::BigqueryV2::EvaluationMetrics
Evaluation metrics of a model.
-
#results ⇒ Array<Google::Apis::BigqueryV2::IterationResult>
Output of each iteration run, results.size() <= max_iterations.
-
#start_time ⇒ String
The start time of this training run.
-
#training_options ⇒ Google::Apis::BigqueryV2::TrainingOptions
Options that were used for this training run, includes user specified and default options that were used.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TrainingRun
constructor
A new instance of TrainingRun.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TrainingRun
Returns a new instance of TrainingRun
5766 5767 5768 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5766 def initialize(**args) update!(**args) end |
Instance Attribute Details
#evaluation_metrics ⇒ Google::Apis::BigqueryV2::EvaluationMetrics
Evaluation metrics of a model. These are either computed on all training
data or just the eval data based on whether eval data was used during
training. These are not present for imported models.
Corresponds to the JSON property evaluationMetrics
5748 5749 5750 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5748 def evaluation_metrics @evaluation_metrics end |
#results ⇒ Array<Google::Apis::BigqueryV2::IterationResult>
Output of each iteration run, results.size() <= max_iterations.
Corresponds to the JSON property results
5753 5754 5755 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5753 def results @results end |
#start_time ⇒ String
The start time of this training run.
Corresponds to the JSON property startTime
5758 5759 5760 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5758 def start_time @start_time end |
#training_options ⇒ Google::Apis::BigqueryV2::TrainingOptions
Options that were used for this training run, includes
user specified and default options that were used.
Corresponds to the JSON property trainingOptions
5764 5765 5766 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5764 def @training_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5771 5772 5773 5774 5775 5776 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5771 def update!(**args) @evaluation_metrics = args[:evaluation_metrics] if args.key?(:evaluation_metrics) @results = args[:results] if args.key?(:results) @start_time = args[:start_time] if args.key?(:start_time) @training_options = args[:training_options] if args.key?(:training_options) end |