Go to the source code of this file.
|
| mrpt |
| This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
|
|
| mrpt::math |
| This base provides a set of functions for maths stuff.
|
|
| mrpt::math::detail |
|
|
template<typename SCALAR > |
double | mrpt::math::detail::internal_kmeans (const bool use_kmeansplusplus_method, const size_t nPoints, const size_t k, const size_t dims, const SCALAR *points, const size_t attempts, SCALAR *out_center, int *out_assignments) |
|
template<class LIST_OF_VECTORS1 , class LIST_OF_VECTORS2 > |
double | mrpt::math::detail::stub_kmeans (const bool use_kmeansplusplus_method, const size_t k, const LIST_OF_VECTORS1 &points, std::vector< int > &assignments, LIST_OF_VECTORS2 *out_centers, const size_t attempts) |
|
|
template<class LIST_OF_VECTORS1 , class LIST_OF_VECTORS2 > |
double | mrpt::math::kmeans (const size_t k, const LIST_OF_VECTORS1 &points, std::vector< int > &assignments, LIST_OF_VECTORS2 *out_centers=nullptr, const size_t attempts=3) |
| k-means algorithm to cluster a list of N points of arbitrary dimensionality into exactly K clusters. More...
|
|
template<class LIST_OF_VECTORS1 , class LIST_OF_VECTORS2 > |
double | mrpt::math::kmeanspp (const size_t k, const LIST_OF_VECTORS1 &points, std::vector< int > &assignments, LIST_OF_VECTORS2 *out_centers=nullptr, const size_t attempts=3) |
| k-means++ algorithm to cluster a list of N points of arbitrary dimensionality into exactly K clusters. More...
|
|