|
knncolle
Collection of KNN methods in C++
|
Cap the number of requested neighbors. More...
#include "sanisizer/sanisizer.hpp"

Go to the source code of this file.
Namespaces | |
| namespace | knncolle |
| Collection of KNN algorithms. | |
Functions | |
| template<typename Index_ > | |
| int | knncolle::cap_k (int k, Index_ num_observations) |
| template<typename Index_ > | |
| int | knncolle::cap_k_query (int k, Index_ num_observations) |
Cap the number of requested neighbors.