A library for working with phylogenetic and population genetic data.
v0.32.0
KmeansClusteringInfo Struct Reference

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

Detailed Description

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
 

Member Data Documentation

◆ counts

std::vector<size_t> counts

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

◆ distances

std::vector<double> distances

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

◆ variances

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: