17 #ifndef _IGNITION_KMEANS_PRIVATE_HH_
18 #define _IGNITION_KMEANS_PRIVATE_HH_
33 public: std::vector<Vector3d>
obs;
39 public: std::vector<unsigned int>
labels;
42 public: std::vector<Vector3d>
sums;
std::vector< Vector3d > sums
Used to calculate the centroid of each partition.
Definition: KmeansPrivate.hh:42
Definition: KmeansPrivate.hh:30
std::vector< Vector3d > centroids
Centroids.
Definition: KmeansPrivate.hh:36
std::vector< unsigned int > labels
Each element stores the cluster to which observation i belongs.
Definition: KmeansPrivate.hh:39
std::vector< unsigned int > counters
Counts the number of observations contained in each partition.
Definition: KmeansPrivate.hh:45
std::vector< Vector3d > obs
Observations.
Definition: KmeansPrivate.hh:33