knncolle_annoy
Annoy nearest neighbors in knncolle
|
Options for AnnoyBuilder()
and AnnoyPrebuilt()
.
More...
#include <knncolle_annoy.hpp>
Public Attributes | |
int | num_trees = 50 |
double | search_mult = -1 |
Options for AnnoyBuilder()
and AnnoyPrebuilt()
.
int knncolle_annoy::AnnoyOptions::num_trees = 50 |
Number of trees to construct. Larger values improve accuracy at the cost of index size (i.e., memory usage), see here for details.
double knncolle_annoy::AnnoyOptions::search_mult = -1 |
Factor that is multiplied by the number of neighbors k
to determine the number of nodes to search in find_nearest_neighbors()
. Larger values improve accuracy at the cost of runtime, see here for details. If set to -1, it defaults to num_trees
.