Skip to main content

A Python library for efficient Point-to-hyperplane nearest neighbours search (P2HNNS)

Project description

Point-to-hyperplane nearest neighbours search (P2HNNS)

A Python library for efficient Point-to-hyperplane nearest neighbours search (P2HNNS) using locality sensitive hashing (LSH) approaches. The library implements the 5 different methods described below.

  • Bilinear Hyperplane (BH) hashing
  • Embedding Hyperplane (EH) hashing
  • Multilinear Hyperplane (MH) hashing
  • Nearest Hyperplane (NH) hashing
  • Furthest Hyperplane (FH) hashing

The implementation is based on the original code of HuangQiang (implemented in C++) and stepping1st(implemented in Java).

The original papers proposing each method will be explicitly provided in section Resources.

Installation

The library can be installed via the pip package manager using the following command

pip install P2HNNS

Documentation

Extensive documentation for using the library is available via Read the Docs

Tests

Unit tests are written using the pytest framework for all functionalities of the library. Tests are located in the /tests directory.

Resources

License

The library is licensed under the MIT Software license. You can see more details in the LICENSE file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

P2HNNS-1.0.3.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file P2HNNS-1.0.3.tar.gz.

File metadata

  • Download URL: P2HNNS-1.0.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.15

File hashes

Hashes for P2HNNS-1.0.3.tar.gz
Algorithm Hash digest
SHA256 584dfeed819137847f099727e58f7b175946341739805e5c14341e40168d2111
MD5 e3f65d0eb2375e91fdfb44a5a4e0a40f
BLAKE2b-256 b5b567d92863f950a3f638b12f5e1746dac29322badb0bb70f13a35983a97e45

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page