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. | |
Public Attributes | |
| std::vector< std::vector< double > > | means |
| The k-mean values found. | |
| std::vector< int64_t > | counts |
| The number of elements in the cluster closest the corresponding k-means values. | |
| std::vector< double > | rmsDists |
| The root mean squared distance of the elements in the cluster for each of the k-means values. | |
| int64_t | count |
| The total count of all the clusters - will be the size of the input table. | |
| double | rmsDist |
| The sum of all the rms_dists - the value the k-means algorithm is attempting to minimize. | |
| double | tolerance |
| The distance between the last two iterations of the algorithm before it quit. | |
| int32_t | numIters |
| The number of iterations the algorithm executed before it quit. | |
| std::map< std::string, std::string > | info |
| Additional information. | |
Detailed Description
A set of results returned by GPUdb::aggregateKMeans.
Definition at line 339 of file aggregate_k_means.h.
Constructor & Destructor Documentation
◆ AggregateKMeansResponse()
| inline |
Constructs an AggregateKMeansResponse object with default parameters.
Definition at line 345 of file aggregate_k_means.h.
Member Data Documentation
◆ count
| 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.
◆ counts
| 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.
◆ info
| std::map<std::string, std::string> gpudb::AggregateKMeansResponse::info |
Additional information.
- aggregate_k_means_qualified_result_table_name: The fully qualified name of the result table (i.e. including the schema) used to store the results.
The default value is an empty map.
Definition at line 407 of file aggregate_k_means.h.
◆ means
| std::vector<std::vector<double> > gpudb::AggregateKMeansResponse::means |
The k-mean values found.
Definition at line 360 of file aggregate_k_means.h.
◆ numIters
| 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.
◆ rmsDist
| 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.
◆ rmsDists
| 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.
◆ tolerance
| 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.
The documentation for this struct was generated from the following file:
- gpudb/protocol/aggregate_k_means.h