Class: Google::Apis::BigqueryV2::BigQueryModelTraining
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::BigQueryModelTraining
- 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
Instance Attribute Summary collapse
-
#current_iteration ⇒ Fixnum
[Output-only, Beta] Index of current ML training iteration.
-
#expected_total_iterations ⇒ Fixnum
[Output-only, Beta] Expected number of iterations for the create model query job specified as num_iterations in the input query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BigQueryModelTraining
constructor
A new instance of BigQueryModelTraining.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BigQueryModelTraining
Returns a new instance of BigQueryModelTraining.
635 636 637 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 635 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_iteration ⇒ Fixnum
[Output-only, Beta] Index of current ML training iteration. Updated during
create model query job to show job progress.
Corresponds to the JSON property currentIteration
626 627 628 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 626 def current_iteration @current_iteration end |
#expected_total_iterations ⇒ Fixnum
[Output-only, Beta] Expected number of iterations for the create model query
job specified as num_iterations in the input query. The actual total number of
iterations may be less than this number due to early stop.
Corresponds to the JSON property expectedTotalIterations
633 634 635 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 633 def expected_total_iterations @expected_total_iterations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
640 641 642 643 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 640 def update!(**args) @current_iteration = args[:current_iteration] if args.key?(:current_iteration) @expected_total_iterations = args[:expected_total_iterations] if args.key?(:expected_total_iterations) end |