Skip to main content

Noise contrastive data visualization

Project description

Conda PyPI GitHub Build Status

ncvis

NCVis is an efficient solution for data visualization. It uses HNSW for fast nearest neighbors graph construction and a parallel approach for building the graph embedding.

Installation

Conda [recommended]

You do not need to setup the environment if using conda, all dependencies are installed automatically.

$ conda install -c alartum ncvis 

Pip

Important: be sure to have a compiler with OpenMP support. GCC has it by default, wich is not the case with clang. You may need to install llvm-openmp library beforehand.

  1. Install numpy and cython packages (compile-time dependencies):
    $ pip install numpy cython
    
  2. Install ncvis package:
    $ pip install ncvis
    

From source

  1. Install numpy and cython packages (compile-time dependencies):
    $ pip install numpy cython
    
  2. Use Makefile, it will call pip for you
    $ make wrapper
    

Using

import ncvis

vis = ncvis.NCVis()
Y = vis.fit_transform(X)

A more detailed example can be found here.

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

ncvis-1.3.tar.gz (187.0 kB view details)

Uploaded Source

File details

Details for the file ncvis-1.3.tar.gz.

File metadata

  • Download URL: ncvis-1.3.tar.gz
  • Upload date:
  • Size: 187.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for ncvis-1.3.tar.gz
Algorithm Hash digest
SHA256 ee3680b46ac84c632c74f71220f528638e2a1641c569122bb691ab81f6e6dc3c
MD5 4810f3cc6dd2b812a2317e401f078400
BLAKE2b-256 bf9f1701bfe9b412a9e96b8cc66dabe10df028122ba327de1ac05efb25f0efa9

See more details on using hashes here.

Supported by

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