Class: Google::Apis::BigqueryV2::DimensionalityReductionMetrics
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::DimensionalityReductionMetrics
- 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
-
#total_explained_variance_ratio ⇒ Float
Total percentage of variance explained by the selected principal components.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DimensionalityReductionMetrics
constructor
A new instance of DimensionalityReductionMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DimensionalityReductionMetrics
Returns a new instance of DimensionalityReductionMetrics.
2054 2055 2056 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2054 def initialize(**args) update!(**args) end |
Instance Attribute Details
#total_explained_variance_ratio ⇒ Float
Total percentage of variance explained by the selected principal components.
Corresponds to the JSON property totalExplainedVarianceRatio
2052 2053 2054 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2052 def total_explained_variance_ratio @total_explained_variance_ratio end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2059 2060 2061 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2059 def update!(**args) @total_explained_variance_ratio = args[:total_explained_variance_ratio] if args.key?(:total_explained_variance_ratio) end |