A toolkit for working with phylogenetic data.
v0.20.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
utils/math/kmeans.hpp File Reference
#include "genesis/utils/core/logging.hpp"
#include "genesis/utils/core/options.hpp"
#include "genesis/utils/math/random.hpp"
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <functional>
#include <limits>
#include <random>
#include <stdexcept>
#include <string>
#include <unordered_set>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  Kmeans< Point >
 
struct  KmeansClusteringInfo
 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. More...
 

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::utils
 

Enumerations

enum  KmeansInitializationStrategy { kRandomAssignments, kRandomCentroids, kKmeansPlusPlus, kNone }
 Enum of the initialization strategies offered by the Kmeans implementation. More...