knncolle
Collection of KNN methods in C++
|
Options for KmknnBuilder
and KmknnPrebuilt
construction.
More...
#include <Kmknn.hpp>
Public Attributes | |
double | power = 0.5 |
std::shared_ptr< kmeans::Initialize< kmeans::SimpleMatrix< Store_, Index_, Dim_ >, Index_, Store_ > > | initialize_algorithm |
std::shared_ptr< kmeans::Refine< kmeans::SimpleMatrix< Store_, Index_, Dim_ >, Index_, Store_ > > | refine_algorithm |
Options for KmknnBuilder
and KmknnPrebuilt
construction.
This can also be created via the KmknnBuilder::Options
definition, which ensures consistency with the template parameters used in KmknnBuilder
.
Dim_ | Integer type for the number of dimensions. When constructing a KmknnBuilder , this should be the same as Matrix_::dimension_type . |
Index_ | Integer type for the indices. When constructing a KmknnBuilder , this should be the same as Matrix_::index_type . |
Store_ | Floating point type for the stored data. When constructing a KmknnBuilder , this should be the same as Matrix_::data_type . |
std::shared_ptr<kmeans::Initialize<kmeans::SimpleMatrix<Store_, Index_, Dim_>, Index_, Store_> > knncolle::KmknnOptions< Dim_, Index_, Store_ >::initialize_algorithm |
Initialization method for the k-means clustering. If NULL, defaults to kmeans::InitializeKmeanspp
.
double knncolle::KmknnOptions< Dim_, Index_, Store_ >::power = 0.5 |
Power of the number of observations, to define the number of cluster centers. By default, a square root is performed.
std::shared_ptr<kmeans::Refine<kmeans::SimpleMatrix<Store_, Index_, Dim_>, Index_, Store_> > knncolle::KmknnOptions< Dim_, Index_, Store_ >::refine_algorithm |
Refinement method for the k-means clustering. If NULL, defaults to kmeans::RefineHartiganWong
.