Skip to main content

MinimalKNN: minimal package to construct k-NN Graph

Project description

A Minimal k-Nearest Neighbor Graph Construction Library

License: MIT

Overview

This package will provide a function to construct an approximated k-Nearest Neighbor graph from a list of three dimensional points. The graph construction algorithm is based on NN-descent presented in Dong, Moses, & Li (2011)[^DML2011]. The Euclidean and Manhattan metrics are implemented in the current version, while only the Euclidean one is available in Python. The algorithm efficiently constructs an approximated k-Nearest Neighbor graph. This provides a portable C++11 header and a Python interface.

Dependencies

The library is written in C++11 and do not depends on any library outside of the STL. The Python interface is depends on NumPy, and functional test procedures depend on Matplotlib. The library is developed on g++ version 5.4 installed in Linux Mint 18.1 (serena). The Python interface is developed on Python 3.7.1 and Numpy 1.18.1.

References

[^DML2011]: Wei Dong, Charikar Moses, & Kai Li, WWW'11: Proceedings of the 20th international conference on World wide web (2011), 577--586 (doi: 10.1145/1963405.1963487)

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

minimalKNN-0.7.tar.gz (66.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minimalKNN-0.7-cp39-cp39-manylinux1_x86_64.whl (410.4 kB view details)

Uploaded CPython 3.9

File details

Details for the file minimalKNN-0.7.tar.gz.

File metadata

  • Download URL: minimalKNN-0.7.tar.gz
  • Upload date:
  • Size: 66.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for minimalKNN-0.7.tar.gz
Algorithm Hash digest
SHA256 a417bf79e17c2e208df8e3e6f612a310a91f21594a8cf91cce224d8468a6c047
MD5 f2b4edfcb33afe82db65b5b9824e75d2
BLAKE2b-256 70d1d0ca9ce6db2d48a539c64931762f2035340569296c8c127b606befcae9a8

See more details on using hashes here.

File details

Details for the file minimalKNN-0.7-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: minimalKNN-0.7-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 410.4 kB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for minimalKNN-0.7-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a3437da478ba1c09c776e3e6f853e607aa54280be28b4bfd2b2616889b758344
MD5 73f182e29167fa05b6d9dee0b3ab9ee5
BLAKE2b-256 b618f7045e48a5e2961e60d9145f0f898ab021568bf1f4274526e52bf67c7404

See more details on using hashes here.

Supported by

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