Class: Google::Apis::BigqueryV2::TrainingRun
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::TrainingRun
- 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
Information about a single training query run for the model.
Instance Attribute Summary collapse
-
#data_split_result ⇒ Google::Apis::BigqueryV2::DataSplitResult
Data split result.
-
#evaluation_metrics ⇒ Google::Apis::BigqueryV2::EvaluationMetrics
Evaluation metrics of a model.
-
#global_explanations ⇒ Array<Google::Apis::BigqueryV2::GlobalExplanation>
Global explanations for important features of the 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 used in model training.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TrainingRun
constructor
A new instance of TrainingRun.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TrainingRun
Returns a new instance of TrainingRun.
7265 7266 7267 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7265 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_split_result ⇒ Google::Apis::BigqueryV2::DataSplitResult
Data split result. This contains references to the training and evaluation
data tables that were used to train the model.
Corresponds to the JSON property dataSplitResult
7234 7235 7236 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7234 def data_split_result @data_split_result end |
#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
7241 7242 7243 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7241 def evaluation_metrics @evaluation_metrics end |
#global_explanations ⇒ Array<Google::Apis::BigqueryV2::GlobalExplanation>
Global explanations for important features of the model. For multi-class
models, there is one entry for each label class. For other models, there is
only one entry in the list.
Corresponds to the JSON property globalExplanations
7248 7249 7250 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7248 def global_explanations @global_explanations end |
#results ⇒ Array<Google::Apis::BigqueryV2::IterationResult>
Output of each iteration run, results.size() <= max_iterations.
Corresponds to the JSON property results
7253 7254 7255 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7253 def results @results end |
#start_time ⇒ String
The start time of this training run.
Corresponds to the JSON property startTime
7258 7259 7260 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7258 def start_time @start_time end |
#training_options ⇒ Google::Apis::BigqueryV2::TrainingOptions
Options used in model training.
Corresponds to the JSON property trainingOptions
7263 7264 7265 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7263 def @training_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7270 7271 7272 7273 7274 7275 7276 7277 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7270 def update!(**args) @data_split_result = args[:data_split_result] if args.key?(:data_split_result) @evaluation_metrics = args[:evaluation_metrics] if args.key?(:evaluation_metrics) @global_explanations = args[:global_explanations] if args.key?(:global_explanations) @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 |