mlpack  2.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Typedefs | Functions
dual_tree_kmeans.hpp File Reference
Include dependency graph for dual_tree_kmeans.hpp:

Go to the source code of this file.

Classes

class  DualTreeKMeans< MetricType, MatType, TreeType >
 An algorithm for an exact Lloyd iteration which simply uses dual-tree nearest-neighbor search to find the nearest centroid for each point in the dataset. More...
 

Namespaces

 mlpack
 Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::kmeans
 K-Means clustering.
 

Typedefs

template<typename MetricType , typename MatType >
using CoverTreeDualTreeKMeans = DualTreeKMeans< MetricType, MatType, tree::StandardCoverTree >
 A template typedef for the DualTreeKMeans algorithm with the cover tree type. More...
 
template<typename MetricType , typename MatType >
using DefaultDualTreeKMeans = DualTreeKMeans< MetricType, MatType >
 A template typedef for the DualTreeKMeans algorithm with the default tree type (a kd-tree). More...
 

Functions

template<typename TreeType >
void HideChild (TreeType &node, const size_t child, const typename boost::disable_if_c< tree::TreeTraits< TreeType >::BinaryTree >::type *junk=0)
 Utility function for hiding children. More...
 
template<typename TreeType >
void HideChild (TreeType &node, const size_t child, const typename boost::enable_if_c< tree::TreeTraits< TreeType >::BinaryTree >::type *junk=0)
 Utility function for hiding children. More...
 
template<typename TreeType >
void RestoreChildren (TreeType &node, const typename boost::disable_if_c< tree::TreeTraits< TreeType >::BinaryTree >::type *junk=0)
 Utility function for restoring children to a non-binary tree. More...
 
template<typename TreeType >
void RestoreChildren (TreeType &node, const typename boost::enable_if_c< tree::TreeTraits< TreeType >::BinaryTree >::type *junk=0)
 Utility function for restoring children to a binary tree. More...