KmeansClusteringInfo Struct Reference

`#include <genesis/utils/math/kmeans.hpp>`

Helper POD that stores the variances and number of data points of each centroid, as well as the distances from all data points to their assigned centroids.

Definition at line 76 of file utils/math/kmeans.hpp.

## Public Attributes | |

std::vector< size_t > | counts |

std::vector< double > | distances |

std::vector< double > | variances |

std::vector<size_t> counts |

Definition at line 79 of file utils/math/kmeans.hpp.

std::vector<double> distances |

Definition at line 80 of file utils/math/kmeans.hpp.

std::vector<double> variances |

Definition at line 78 of file utils/math/kmeans.hpp.

The documentation for this struct was generated from the following file: