Module
Annoy
- Package
- purescript-annoy
- Repository
- Kamirus/purescript-annoy
#nnsByVec Source
nnsByVec :: forall s. Nat s => Annoy s -> Vec s Number -> Int -> ({ searchK :: Int } -> { searchK :: Int }) -> Array Int
nnsByVec a v n update
Returns n
closest items to the v
vector. update
is used to set search_k parameter.
nnsByVec a v n id
to use default searchK
nnsByVec a v n (_ { searchK = 123 })
to set searchK
- Modules
- Annoy
- Annoy.
ST - Annoy.
Types - Annoy.
Unsafe