hashranking - fast procedures for working with hashes for deeplearning research
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.
Metadata
Release files for hashranking 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hashranking-0.0.1.tar.gz | 7.1 kB | Without provenance | Details for hashranking-0.0.1.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hashranking-0.0.1-cp36-cp36m-win_amd64.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-64 | Details for hashranking-0.0.1-cp36-cp36m-win_amd64.whl |
| hashranking-0.0.1-cp27-cp27m-win_amd64.whl | CPython 2.7 | CPython 2.7 pymalloc | Windows x86-64 | Details for hashranking-0.0.1-cp27-cp27m-win_amd64.whl |
Total release size: 439.3 kB
Release files / hashranking-0.0.1.tar.gz
| Download URL | hashranking-0.0.1.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ce5ede1b5ff364edad4daa5786e5c72d61d047c20bbc0750b2ebe754d469d11
|
|
BLAKE2b-256 checksum How to use checksums |
b7cff6397c2354d3f1738518989f8190d8dab9aee3be3f396781fccf0319ee67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / hashranking-0.0.1-cp36-cp36m-win_amd64.whl
| Download URL | hashranking-0.0.1-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 295.0 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8e5a2600e452364415c6e2e51a2ad9fcaaf66a6148a88579132ac51633a9e698
|
|
BLAKE2b-256 checksum How to use checksums |
f8ccce33dd6af8590dd6545db6d143731df6d554e76abfb2bba288d1e3dfb3f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / hashranking-0.0.1-cp27-cp27m-win_amd64.whl
| Download URL | hashranking-0.0.1-cp27-cp27m-win_amd64.whl |
|---|---|
| Size | 137.2 kB |
| Tags | CPython 2.7 CPython 2.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
82062b6c60b27bd14c141a9dfc14ad59807e462b97d3b83d95edfb72824130c4
|
|
BLAKE2b-256 checksum How to use checksums |
b5a6d4edd3b8244565054e04b658952c7b4c72dab18bc2bafc617a4fd6964244
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for hashranking 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.