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.
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
Metadata
Release files for dynamicviz 1.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 |
|---|---|---|---|---|
| dynamicviz-1.0.1.tar.gz | 4.3 MB | Without provenance | Details for dynamicviz-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dynamicviz-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for dynamicviz-1.0.1-py3-none-any.whl |
Total release size: 4.3 MB
Release files / dynamicviz-1.0.1.tar.gz
| Download URL | dynamicviz-1.0.1.tar.gz |
|---|---|
| Size | 4.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51113b882c1e2baffb28a5463d6cd1b80ffaad0ef0e2e03a549529d80c48719e
|
|
BLAKE2b-256 checksum How to use checksums |
26a7946951b00ca933dc161d3b7a36df599c5a4ed27f5936d50e440c53f8e885
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.26.0
|
Release files / dynamicviz-1.0.1-py3-none-any.whl
| Download URL | dynamicviz-1.0.1-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d9483ab2a0a57403a63b5e0fb60c19808b6f2b9073afe444ec7e13aecc47586
|
|
BLAKE2b-256 checksum How to use checksums |
06a059cee8bd82644b1403a355a84fadb382ec5fa97f434fd0e309b5731ac6b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.26.0
|
Security for dynamicviz 1.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.