Skip to main content

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.

Metadata

Release files for P2HNNS 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for P2HNNS 1.0.3
File Size Uploaded
P2HNNS-1.0.3.tar.gz 3.2 kB Details

Release files / P2HNNS-1.0.3.tar.gz

Download URL P2HNNS-1.0.3.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
584dfeed819137847f099727e58f7b175946341739805e5c14341e40168d2111
BLAKE2b-256 checksum
How to use checksums
b5b567d92863f950a3f638b12f5e1746dac29322badb0bb70f13a35983a97e45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.15

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page