Class: Google::Apis::BigqueryV2::MlStatistics

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_resultsArray<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_iterationsFixnum

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

Returns:

  • (Fixnum)


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