bigquery
v2
|
#include <clustering_metrics.h>
Public Member Functions | |
ClusteringMetrics (const Json::Value &storage) | |
ClusteringMetrics (Json::Value *storage) | |
virtual | ~ClusteringMetrics () |
const StringPiece | GetTypeName () const |
bool | has_clusters () const |
void | clear_clusters () |
const client::JsonCppArray< Cluster > | get_clusters () const |
client::JsonCppArray< Cluster > | mutable_clusters () |
bool | has_davies_bouldin_index () const |
void | clear_davies_bouldin_index () |
double | get_davies_bouldin_index () const |
void | set_davies_bouldin_index (double value) |
bool | has_mean_squared_distance () const |
void | clear_mean_squared_distance () |
double | get_mean_squared_distance () const |
void | set_mean_squared_distance (double value) |
Static Public Member Functions | |
static ClusteringMetrics * | New () |
Evaluation metrics for clustering models.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'clusters
' attribute.
|
inline |
Clears the 'daviesBouldinIndex
' attribute.
|
inline |
Clears the 'meanSquaredDistance
' attribute.
const client::JsonCppArray<Cluster > google_bigquery_api::ClusteringMetrics::get_clusters | ( | ) | const |
Get a reference to the value of the 'clusters
' attribute.
|
inline |
Get the value of the 'daviesBouldinIndex
' attribute.
|
inline |
Get the value of the 'meanSquaredDistance
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'clusters
' attribute was set.
clusters
' attribute was set.
|
inline |
Determine if the 'daviesBouldinIndex
' attribute was set.
daviesBouldinIndex
' attribute was set.
|
inline |
Determine if the 'meanSquaredDistance
' attribute was set.
meanSquaredDistance
' attribute was set. client::JsonCppArray<Cluster > google_bigquery_api::ClusteringMetrics::mutable_clusters | ( | ) |
Gets a reference to a mutable value of the 'clusters
' property.
[Beta] Information for all clusters.
|
static |
Creates a new default instance.
|
inline |
Change the 'daviesBouldinIndex
' attribute.
Davies-Bouldin index.
[in] | value | The new value. |
|
inline |
Change the 'meanSquaredDistance
' attribute.
Mean of squared distances between each sample to its cluster centroid.
[in] | value | The new value. |