- Implementation of two-step DR (PCA+UMAP) with contrastive clusters for feature contributions.
- Interactive mrDMD to adjust metric baselines and compute per-node devation from baseline(s).
- Python3
- Note: Tested on macOS Tahoe and Ubuntu 24.04 LTS.
cd uinpm install
cd uinpm run start
cd server- Ensure you're using Python 3.13. If you have
pyenvinstalled, it should automatically switch Python versions when youcdintoserver/. python -m venv .venvsource .venv/bin/activate(Repeat this whenever you start a new terminal)pip install -r requirements.txt- Install CCPCA package
-
Download ccpca repo as zip from https://github.com/takanori-fujiwara/ccpca:
-
Download ccpca repo as zip
-
Unzip in
/server -
cd ccpca-master -
If you're on MacOS and use Homebrew, update the path to Eigen on lines 46 and 50
/ccpca-master/ccpca/presetup.pyas follows:... print("building cPCA") os.system( f"c++ -O3 -Wall -mtune=native -march=native -shared -std=c++11 -undefined dynamic_lookup -I/opt/homebrew/include/eigen3/ $(python3 -m pybind11 --includes) cpca.cpp cpca_wrap.cpp -o cpca_cpp{extension_suffix}" ) print("building ccPCA") os.system( f"c++ -O3 -Wall -mtune=native -march=native -shared -std=c++11 -undefined dynamic_lookup -I/opt/homebrew/include/eigen3/ $(python3 -m pybind11 --includes) cpca.cpp cpca_wrap.cpp ccpca.cpp ccpca_wrap.cpp -o ccpca_cpp{extension_suffix}" ) ...
-
Install both
ccpca/ccpca/andccpca/fc_view/as instructed in https://github.com/takanori-fujiwara/ccpca/blob/master/README.md
-
cd serversource .venv/bin/activatepython server.py
- Takanori Fujiwara, Shilpika, Naohisa Sakamoto, Jorji Nonaka, Keiji Yamamoto, and Kwan-Liu Ma, "A Visual Analytics Framework for Reviewing Multivariate Time-Series Data with Dimensionality Reduction". IEEE Transactions on Visualization and Computer Graphics, vol. 27, no. 2, pp. 1601-1611, 2021. code
- Takanori Fujiwara, Oh-Hyun Kwon, and Kwan-Liu Ma, "Supporting Analysis of Dimensionality Reduction Results with Contrastive Learning". IEEE Transactions on Visualization and Computer Graphics, 2020. DOI: 10.1109/TVCG.2019.2934251 code
- Kutz, J. N., Fu, X., and Brunton, S. L., 2016, “Multiresolution Dynamic Mode Decomposition”, SIAM J. Appl. Dyn. Syst., 15 (2), pp. 713-735.
- B. W. Brunton, L. A. Johnson, J. G. Ojemann, and J. N. Kutz, “Extracting spatial–temporal coherent patterns in large-scale neural recordings using dynamic mode decomposition,” Journal of Neuroscience Methods, vol. 258, 2016.
- mrDMD code modified from https://humaticlabs.com/blog/mrdmd-python/