Class: Google::Apis::BigqueryV2::DimensionalityReductionMetrics

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

Overview

Model evaluation metrics for dimensionality reduction models.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DimensionalityReductionMetrics

Returns a new instance of DimensionalityReductionMetrics.



2392
2393
2394
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2392

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#total_explained_variance_ratioFloat

Total percentage of variance explained by the selected principal components. Corresponds to the JSON property totalExplainedVarianceRatio

Returns:

  • (Float)


2390
2391
2392
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2390

def total_explained_variance_ratio
  @total_explained_variance_ratio
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2397
2398
2399
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2397

def update!(**args)
  @total_explained_variance_ratio = args[:total_explained_variance_ratio] if args.key?(:total_explained_variance_ratio)
end