Python wrapper for Arya and Mount's ANN library (v1.1.3)
Project description
PyANN
Finds the k nearest neighbours for every point in a given dataset in O(N log N) time using Arya and Mount's ANN library (v1.1.3). There is support for approximate as well as exact searches, fixed radius searches and bd as well as kd trees.
This package implements nearest neighbors for the Euclidean (L2) metric.
For further details on the underlying ANN library, see http://www.cs.umd.edu/~mount/ANN.
PyANN was written to be the Python equivalent of the R package RANN. For further details on the R implementation, see RANN.
Requirements
Python Version
PyANN requires Python>=3.6 due to the use of type annotations in the source code, which was implemented in Python 3.6.
Dependencies
Installation
PyPI
The recommendation is to install the latest released version from PyPI by doing:
pip install pyann
Source
To install PyANN from source you need Cython and setuptools >=18.0 in addition to the normal dependencies above. Cython can be installed from PyPI:
pip install cython
In the PyANN directory (same one where you found this file after cloning the git repo), execute:
python setup.py install
Documentation
Documentation for PyANN is available at: https://pyann.readthedocs.io/en/latest/
Feedback
Please feel free to:
- submit suggestions and bug-reports at: https://github.com/annacnev/pyann/issues
- send pull requests after forking: https://github.com/annacnev/pyann/
- e-mail the maintainer: annanev@umich.edu
Copyright and License
see COPYRIGHT and LICENSE files for copyright and license information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for pyann-0.0.1-py3.7-macosx-10.14-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | af48305171ed81f13268019b902c787af7d468bc5c8126e1d0f811c672234313 |
|
MD5 | 1082bc39923f98b0a69a66a1e97a8e40 |
|
BLAKE2b-256 | dfd9bbfe4e0b309c740418d62a6de2376c0a4cf55c099773992d1ec408f35616 |
Hashes for pyann-0.0.1-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c11cd51d55c0cbf1de68b1bde9142c8d02302f8378ad8b9e5e574ede8861d7f |
|
MD5 | 92806e0bfb18fffeb1ea8a35f5d22ad3 |
|
BLAKE2b-256 | 4a22d684f26d141d48a31de50dc863548007e00c99ab74bc838a333ae3766464 |
Hashes for pyann-0.0.1-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fce7e8b7e6446732c9cbb4011a085b44c77630f0168b79d90aaf56f1d6dcdca6 |
|
MD5 | 66d03fba90a827176c3556980778197a |
|
BLAKE2b-256 | 518adeaba0e0c0778591cc6284c6dbbfe2044d067b320b024b1adafc07293462 |
Hashes for pyann-0.0.1-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55a571bb34fc1007e2742ae9e67f7c287bed7a0cf08a34348d1e1ec9daf3e214 |
|
MD5 | 4b3633f402feaf681d7e4734a1ac99ab |
|
BLAKE2b-256 | 9fbe139f5a8f409d9b022c8b81c7811b23fe0a5d3c1d81f0e85032afa8324f79 |