get_neighbors_from_vector: Retrieve the most closest vector representation of a text...

Description Usage Arguments

Description

Use RcppAnnoy to rapidly retrieve the n most closest representation of a text.

Usage

1
get_neighbors_from_vector(vec, annoy_model, n, search_k)

Arguments

vec

numeric containing the pivot vector

annoy_model

RcppAnnoy model

n

number of elements to retrieve

search_k

number of nodes to search in (RcppAnnoy parameter). Higher is better and slower.


pommedeterresautee/projector documentation built on May 5, 2019, 1:38 p.m.