Code Monkey home page Code Monkey logo

nmslib-viz's Introduction

NMSLIB-viz

PyPI version Downloads Downloads Downloads
HitCount 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.

You could also check this example for knowing how to use this library in a Python script.

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

nmslib-viz's People

Contributors

albertsuarez avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.