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

Evaluation metrics for clustering models.

Attributes

  • clusters (type: list(GoogleApi.BigQuery.V2.Model.Cluster.t), default: nil) - Information for all clusters.
  • daviesBouldinIndex (type: float(), default: nil) - Davies-Bouldin index.
  • meanSquaredDistance (type: float(), default: nil) - Mean of squared distances between each sample to its cluster centroid.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BigQuery.V2.Model.ClusteringMetrics{
  clusters: [GoogleApi.BigQuery.V2.Model.Cluster.t()] | nil,
  daviesBouldinIndex: float() | nil,
  meanSquaredDistance: float() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.