Skip to main content

NMSLIB visualization tool

Project description

NMSLIB-viz

HitCount PyPI version Python application Python package GitHub stars GitHub forks GitHub contributors

📊 NMSLIB visualization tool

Installation

Install client via pip. Ideally, nmslib-viz is well supported for Python >= 3.7.

pip3 install nmslib-viz --no-binary nmslib

The --no-binary option is important for a better CPU performance.

Usage

Just run it like this:

nmslib-viz INDEX_FILE_PATH [--number_points NUMBER_POINTS]

Arguments:

  • INDEX_FILE_PATH: String pointing to the NMSLIB file path. There has to be the additional .dat file for the index, the one that is created when uses the save_data=True option in the saveIndex() function. For example: index.nmslib and index.nmslib.dat need to exist but only index.nmslib has to be provided as this parameter.
  • NUMBER_POINTS: (optional) Number of points as a maximum to plot from the NMSLIB index data, where has to be 1 at least. Default value: 1000.

Result

Example

Note: this example is a representation of the SearchLy index.

Development

Recommendations

Usage of virtualenv is recommended for package library / runtime isolation.

Installation

  1. Setup virtual environment

  2. Install dependencies

pip3 install -r requirements.lock
  1. Install locally
pip3 install . --no-binary nmslib

Contributing

Suggestions, improvements, and enhancements are always welcome! If you have any issues, please do raise one in the Issues section. If you have an improvement, do file an issue to discuss the suggestion before creating a PR.

All ideas – no matter how outrageous – welcome!

Authors

License

Apache-2.0 © nmslib-viz

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

nmslib-viz-1.0.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

nmslib_viz-1.0.1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file nmslib-viz-1.0.1.tar.gz.

File metadata

  • Download URL: nmslib-viz-1.0.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for nmslib-viz-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c13d99877e7f661cf17ebbde137e4f03bed708a2599a2c299e423a74c6ab8c31
MD5 09206fcc93c4fc29f4b5542373d2b4b2
BLAKE2b-256 48607c0627e858d14be7188c5173575513ab7a59c5e1303df07cda3be53b7767

See more details on using hashes here.

File details

Details for the file nmslib_viz-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: nmslib_viz-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for nmslib_viz-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0773732f1d7f29d526d8a4e8a519565e025af21289a05d325000b85debfa8f1f
MD5 5c8c6ed9c5f7f6fe6cdf589f75fb51f5
BLAKE2b-256 1808fa15a02b061738e9411356a4017a7eceac383a88fab6f5fc9ff7f96b517b

See more details on using hashes here.

Supported by

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