View Source GoogleApi.BigQuery.V2.Model.PrincipalComponentInfo (google_api_big_query v0.79.0)

Principal component infos, used only for eigen decomposition based models, e.g., PCA. Ordered by explained_variance in the descending order.

Attributes

  • cumulativeExplainedVarianceRatio (type: float(), default: nil) - The explained_variance is pre-ordered in the descending order to compute the cumulative explained variance ratio.
  • explainedVariance (type: float(), default: nil) - Explained variance by this principal component, which is simply the eigenvalue.
  • explainedVarianceRatio (type: float(), default: nil) - Explained_variance over the total explained variance.
  • principalComponentId (type: String.t, default: nil) - Id of the principal component.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BigQuery.V2.Model.PrincipalComponentInfo{
  cumulativeExplainedVarianceRatio: float() | nil,
  explainedVariance: float() | nil,
  explainedVarianceRatio: float() | nil,
  principalComponentId: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.