Skip to main content

DynamicViz provides a wrapper for generating and interpreting dynamic visualizations from traditional static dimensionality reduction visualization methods

Project description

Dynamic visualization

Sun, E.D., Ma, R. & Zou, J. Dynamic visualization of high-dimensional data. Nat Comput Sci 3, 86–100 (2023). https://doi.org/10.1038/s43588-022-00380-4

Eric Sun

Python package for generating bootstrap visualizations of high-dimensional data. Great for assessing stability of visualizations and increasing robustness of interpretations. Also included are methods for computing variance scores along with classical concordance scores for quantifying the quality of a visualization.

For a Quick Start guide, please refer to tutorial.ipynb.

plot

Installation and setup

Option 1: PyPI

Install the package through PyPI with pip. We recommend setting up a conda environment (or another virtual environment) first since dynamicviz currently relies on specific versions for its dependencies:

conda create -n myenv python=3.8
conda activate myenv

pip install dynamicviz

Option 2: Github

Another way to install the package along with associated test and tutorial files is to clone the directory and then install the requirements for using the package. To do this, first clone the repository using git (you can install git following the instructions here):

git clone https://github.com/sunericd/dynamicviz.git

We recommend setting up a conda environment to install the requirements for the package (instructions for installing conda and what conda environment can do can be found here). Installation of requirements can then be done with the following commands:

conda create -n dynamicviz python=3.8
conda activate dynamicviz

cd dynamicviz
pip install -r requirements.txt

To test that the installation is working correctly, you can use the Jupyter notebook tutorial.ipynb (requires installing Jupyter, instructions found here, and adding the conda environment we just created to the Jupyter notebook kernels, instructions found here) or the test script test.py to check against expected outputs of the key methods.

For the test data in the tutorial notebook, expected run times are under 5 minutes for interactive visualization and under 10 minutes for global variance score calculation.

For Jupyter notebooks and Python scripts associated with our original publication, please refer to https://github.com/sunericd/dynamic-visualization-of-high-dimensional-data

If you find this code useful, please cite the following paper:

Sun, E.D., Ma, R. & Zou, J. Dynamic visualization of high-dimensional data. Nat Comput Sci 3, 86–100 (2023). https://doi.org/10.1038/s43588-022-00380-4

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

dynamicviz-1.0.1.tar.gz (4.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dynamicviz-1.0.1-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file dynamicviz-1.0.1.tar.gz.

File metadata

  • Download URL: dynamicviz-1.0.1.tar.gz
  • Upload date:
  • Size: 4.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.26.0

File hashes

Hashes for dynamicviz-1.0.1.tar.gz
Algorithm Hash digest
SHA256 51113b882c1e2baffb28a5463d6cd1b80ffaad0ef0e2e03a549529d80c48719e
MD5 63ed69c2a25126add9db4d2204abe7a1
BLAKE2b-256 26a7946951b00ca933dc161d3b7a36df599c5a4ed27f5936d50e440c53f8e885

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dynamicviz-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.26.0

File hashes

Hashes for dynamicviz-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d9483ab2a0a57403a63b5e0fb60c19808b6f2b9073afe444ec7e13aecc47586
MD5 ac7db9937f2ed342e6be0763302f8eb3
BLAKE2b-256 06a059cee8bd82644b1403a355a84fadb382ec5fa97f434fd0e309b5731ac6b7

See more details on using hashes here.

Supported by

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