#include <Eigen/Dense>
#include <mutable/mutable.hpp>
#include <vector>
Go to the source code of this file.
|
namespace | m |
|
mutable namespace
|
|
|
using | m::MatrixRXf = Eigen::Matrix< float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > |
|
|
MatrixRXf M_EXPORT | m::kmeans_plus_plus (const Eigen::MatrixXf &data, unsigned k) |
| Compute initial cluster centroids using k-means++ algorithm.
|
|
std::pair< std::vector< unsigned >, MatrixRXf > M_EXPORT | m::kmeans_with_centroids (const Eigen::MatrixXf &data, unsigned k) |
| Clusters the given data according to the k-means algorithm.
|
|
std::vector< unsigned > M_EXPORT | m::kmeans (const Eigen::MatrixXf &data, unsigned k) |
| Clusters the given data according to the k-means algorithm.
|
|