Skip to main content

License: MIT Build CodeQL PyPI

A Minimal k-Nearest Neighbor Graph Construction Library

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)1. 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

  1. 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) ↩

Metadata

Release files for minimalKNN 0.10

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

Source distribution (sdist)

Source distribution for minimalKNN 0.10
File Size Uploaded
minimalknn-0.10.tar.gz 8.9 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for minimalKNN 0.10
File
minimalknn-0.10-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
minimalknn-0.10-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
minimalknn-0.10-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
minimalknn-0.10-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details

Total release size: 1.7 MB

Release files / minimalknn-0.10.tar.gz

Download URL minimalknn-0.10.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
06746d10868e494d471c5d96b0593ee0fd6f41bd537d542d09594492015e9f4d
BLAKE2b-256 checksum
How to use checksums
f659009d73db9b636746d3acf7b131dcc5758283ca3831d5d4f2387c1348b5a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / minimalknn-0.10-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL minimalknn-0.10-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 426.9 kB
Tags CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
ffdb07457e1dbc1a0d35a7137ffd7ac75f77a3ab870e8d37ac039d67f74c3bf1
BLAKE2b-256 checksum
How to use checksums
2d8de14698eed6f224d4dc4160310d87f3d146b61ee61cd432f30d3c89b0e492
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / minimalknn-0.10-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL minimalknn-0.10-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 425.6 kB
Tags CPython 3.11 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d07ac25188fb850544bb05e042e3e6f5df95e3c1088d8fb984c31f172469006e
BLAKE2b-256 checksum
How to use checksums
a525a99d9f78c83d53e5879536f5a9e95b45d9837033e3e7978ada2f73020c4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / minimalknn-0.10-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL minimalknn-0.10-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 414.3 kB
Tags CPython 3.10 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b32a79dead668da37afe021e44c8d916664cac70fa7234c1b0976ea019a64644
BLAKE2b-256 checksum
How to use checksums
59dca7a34d13bc571d18df5e6e703b2e635b0d866b91fbccf732d1a775ab915b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / minimalknn-0.10-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL minimalknn-0.10-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 413.0 kB
Tags CPython 3.9 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
84692dbca71fe0b22d5714ebb23a01e91a8565dc1cf62457f50921cea92862e8
BLAKE2b-256 checksum
How to use checksums
651cd33ff9c139df76bd4a1d924fa67858ac2ff3a70f80c6e5bcd362e912ef52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

0.10 This release

5 release files

0.9

6 release files

0.8

2 release files

0.7

2 release files

0.6

3 release files

0.5

3 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

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