BagOfWords.create_index
— Methodcreate_index(dist::SemiMetric, db::AbstractDatabase; k::Int=16, minrecall::Float64=0.95, verbose=true)
Creates an index for the given database
dist
: Distance functiondb
: input databasek
: the number of neighbors (only for optimization purposes)minrecall
: controls the quality of the approximation (between 0 and 1)verbose
: setverbose=false
to reduce the output of the index's building