fast procedures for forking with hashes
Project description
In Deep Learning research, hashing, retrieval, and ranking tasks often require calculation of mAP of retrieval, which can be computationally expensive. Often, hashes are represented as ndarrays of floats, where the sign of the float number has the meaning of a bit. This happens because neural networks work with floats and that is precisely the output that they give. Computing ranking of documents in the DB based the query typically implemented in NumPy, which can be quite suboptimal.
This package provides several functions that allow fast hamming distance computation, ranking, and mAP computation.
All API has two backends: * NumPy implementation, which is simple, straightforward and as efficient as it can get in pure NumPy. Used as a reference. * C++ Python extension that implements the same API, on average 10x faster than NumPy implementation and significantly more memory efficient.
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
File details
Details for the file hashranking-0.0.1.tar.gz
.
File metadata
- Download URL: hashranking-0.0.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ce5ede1b5ff364edad4daa5786e5c72d61d047c20bbc0750b2ebe754d469d11 |
|
MD5 | adababc969440d95284fa2f125ade200 |
|
BLAKE2b-256 | b7cff6397c2354d3f1738518989f8190d8dab9aee3be3f396781fccf0319ee67 |
File details
Details for the file hashranking-0.0.1-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: hashranking-0.0.1-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 295.0 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e5a2600e452364415c6e2e51a2ad9fcaaf66a6148a88579132ac51633a9e698 |
|
MD5 | 375cd5e35ce5428562ac785623302147 |
|
BLAKE2b-256 | f8ccce33dd6af8590dd6545db6d143731df6d554e76abfb2bba288d1e3dfb3f3 |
File details
Details for the file hashranking-0.0.1-cp27-cp27m-win_amd64.whl
.
File metadata
- Download URL: hashranking-0.0.1-cp27-cp27m-win_amd64.whl
- Upload date:
- Size: 137.2 kB
- Tags: CPython 2.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82062b6c60b27bd14c141a9dfc14ad59807e462b97d3b83d95edfb72824130c4 |
|
MD5 | cf51f6d02ecfcde4d225d60e273f1e39 |
|
BLAKE2b-256 | b5a6d4edd3b8244565054e04b658952c7b4c72dab18bc2bafc617a4fd6964244 |