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
Instance Attribute Summary collapse
-
#iteration_results ⇒ Array<Google::Apis::BigqueryV2::IterationResult>
Results for all completed iterations.
-
#max_iterations ⇒ Fixnum
Maximum number of iterations specified as max_iterations in the 'CREATE MODEL' query.
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.
5270 5271 5272 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5270 def initialize(**args) update!(**args) end |
Instance Attribute Details
#iteration_results ⇒ Array<Google::Apis::BigqueryV2::IterationResult>
Results for all completed iterations.
Corresponds to the JSON property iterationResults
5261 5262 5263 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5261 def iteration_results @iteration_results end |
#max_iterations ⇒ Fixnum
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
5268 5269 5270 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5268 def max_iterations @max_iterations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5275 5276 5277 5278 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5275 def update!(**args) @iteration_results = args[:iteration_results] if args.key?(:iteration_results) @max_iterations = args[:max_iterations] if args.key?(:max_iterations) end |