GPUdb C++ API
Version 7.2.2.4
|
A set of results returned by GPUdb::aggregateKMeans. More...
#include <gpudb/protocol/aggregate_k_means.h>
Public Member Functions | |
AggregateKMeansResponse () | |
Constructs an AggregateKMeansResponse object with default parameters. More... | |
Public Attributes | |
std::vector< std::vector< double > > | means |
The k-mean values found. More... | |
std::vector< int64_t > | counts |
The number of elements in the cluster closest the corresponding k-means values. More... | |
std::vector< double > | rmsDists |
The root mean squared distance of the elements in the cluster for each of the k-means values. More... | |
int64_t | count |
The total count of all the clusters - will be the size of the input table. More... | |
double | rmsDist |
The sum of all the rms_dists - the value the k-means algorithm is attempting to minimize. More... | |
double | tolerance |
The distance between the last two iterations of the algorithm before it quit. More... | |
int32_t | numIters |
The number of iterations the algorithm executed before it quit. More... | |
std::map< std::string, std::string > | info |
Additional information. More... | |
A set of results returned by GPUdb::aggregateKMeans.
Definition at line 339 of file aggregate_k_means.h.
|
inline |
Constructs an AggregateKMeansResponse object with default parameters.
Definition at line 345 of file aggregate_k_means.h.
int64_t gpudb::AggregateKMeansResponse::count |
The total count of all the clusters - will be the size of the input table.
Definition at line 378 of file aggregate_k_means.h.
std::vector<int64_t> gpudb::AggregateKMeansResponse::counts |
The number of elements in the cluster closest the corresponding k-means values.
Definition at line 366 of file aggregate_k_means.h.
std::map<std::string, std::string> gpudb::AggregateKMeansResponse::info |
Additional information.
The default value is an empty map.
Definition at line 407 of file aggregate_k_means.h.
std::vector<std::vector<double> > gpudb::AggregateKMeansResponse::means |
The k-mean values found.
Definition at line 360 of file aggregate_k_means.h.
int32_t gpudb::AggregateKMeansResponse::numIters |
The number of iterations the algorithm executed before it quit.
Definition at line 395 of file aggregate_k_means.h.
double gpudb::AggregateKMeansResponse::rmsDist |
The sum of all the rms_dists - the value the k-means algorithm is attempting to minimize.
Definition at line 384 of file aggregate_k_means.h.
std::vector<double> gpudb::AggregateKMeansResponse::rmsDists |
The root mean squared distance of the elements in the cluster for each of the k-means values.
Definition at line 372 of file aggregate_k_means.h.
double gpudb::AggregateKMeansResponse::tolerance |
The distance between the last two iterations of the algorithm before it quit.
Definition at line 390 of file aggregate_k_means.h.