knncolle_annoy
Annoy nearest neighbors in knncolle
Loading...
Searching...
No Matches
Public Attributes | List of all members
knncolle_annoy::AnnoyOptions Struct Reference

Options for AnnoyBuilder() and AnnoyPrebuilt(). More...

#include <knncolle_annoy.hpp>

Public Attributes

int num_trees = 50
 
double search_mult = -1
 

Detailed Description

Options for AnnoyBuilder() and AnnoyPrebuilt().

Member Data Documentation

◆ num_trees

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.

◆ search_mult

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.


The documentation for this struct was generated from the following file: