Package: annsearchR 0.1.0

annsearchR: Fast Approximate Nearest Neighbour Search
R interface to the Rust crate 'ann-search-rs'. Build an exact or approximate nearest neighbour index once (HNSW, Annoy, IVF, NNDescent, Vamana and more), keep it in memory behind an R6 object and query it as often as you like. Multi-threaded via 'Rayon', with f32 or f64 storage. Methods include hierarchical navigable small world graphs (Malkov and Yashunin, 2020) <doi:10.1109/TPAMI.2018.2889473> and NN-Descent (Dong, Charikar and Li, 2011) <doi:10.1145/1963405.1963487>.
Authors:
annsearchR_0.1.0.tar.gz
annsearchR_0.1.0.zip(r-4.7-x86_64)annsearchR_0.1.0.zip(r-4.7-arm64)annsearchR_0.1.0.zip(r-4.6-x86_64)annsearchR_0.1.0.zip(r-4.6-arm64)annsearchR_0.1.0.zip(r-4.5-x86_64)
annsearchR_0.1.0.tgz(r-4.6-x86_64)annsearchR_0.1.0.tgz(r-4.6-arm64)annsearchR_0.1.0.tgz(r-4.5-x86_64)annsearchR_0.1.0.tgz(r-4.5-arm64)
annsearchR_0.1.0.tar.gz(r-4.7-arm64)annsearchR_0.1.0.tar.gz(r-4.7-x86_64)annsearchR_0.1.0.tar.gz(r-4.6-arm64)annsearchR_0.1.0.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
annsearchR/json (API)
| # Install 'annsearchR' in R: |
| install.packages('annsearchR', repos = c('https://gregorlueg.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gregorlueg/annsearchr/issues
Pkgdown/docs site:https://gregorlueg.github.io
Last updated from:69d6b6125e (on v0.1.0). Checks:14 OK, 1 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 245 | ||
| linux-devel-x86_64 | OK | 288 | ||
| source / vignettes | OK | 547 | ||
| linux-release-arm64 | OK | 224 | ||
| linux-release-x86_64 | OK | 291 | ||
| macos-release-arm64 | OK | 302 | ||
| macos-release-x86_64 | OK | 713 | ||
| macos-oldrel-arm64 | OK | 386 | ||
| macos-oldrel-x86_64 | OK | 1046 | ||
| windows-devel-arm64 | OK | 592 | ||
| windows-devel-x86_64 | OK | 445 | ||
| windows-release-arm64 | OK | 557 | ||
| windows-release-x86_64 | OK | 485 | ||
| windows-oldrel-x86_64 | OK | 444 | ||
| wasm-release | FAIL | 135 |
Exports:ann_get_threadsann_set_threadsAnnIndexAnnoyIndexBallTreeIndexExhaustiveIndexgenerate_cell_embeddingsgenerate_clustered_datagenerate_correlated_datagenerate_low_rank_dataHnswIndexIvfIndexKdTreeIndexKmknnIndexknn_recallload_ann_indexLshIndexNNDescentIndexNsgIndexRnnDescentIndexSoarIndexsubsample_queriesVamanaIndex
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Number of threads used for index builds and queries | ann_get_threads |
| Set the number of threads for index builds and queries | ann_set_threads |
| Base class for all nearest neighbour indices | AnnIndex |
| Annoy index | AnnoyIndex |
| Ball tree index | BallTreeIndex |
| Exhaustive (brute-force) index | ExhaustiveIndex |
| Generate synthetic cell embeddings | generate_cell_embeddings |
| Generate clustered synthetic data | generate_clustered_data |
| Generate correlated synthetic data | generate_correlated_data |
| Generate low-rank synthetic data | generate_low_rank_data |
| HNSW index | HnswIndex |
| IVF index | IvfIndex |
| kd forest index | KdTreeIndex |
| kMkNN index | KmknnIndex |
| Recall of an approximate kNN result | knn_recall |
| Load an index written by $save() | load_ann_index |
| LSH index | LshIndex |
| NN-Descent index | NNDescentIndex |
| NSG index | NsgIndex |
| Query an index | predict.AnnIndex |
| Relative NN-Descent index | RnnDescentIndex |
| SOAR index | SoarIndex |
| Subsample queries from a dataset | subsample_queries |
| Vamana index | VamanaIndex |