t-viSNE: Interactive Assessment and Interpretation of t-SNE Projections https://doi.org/10.1109/TVCG.2020.2986996
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
t-viSNE/README.md

1.9 KiB

t-viSNE: Interactive Assessment and Interpretation of t-SNE Projections

This Git repository contains the code that accompanies a research publication so-called "t-viSNE: Interactive Assessment and Interpretation of t-SNE Projections". The details of the experiments and the research outcome are described in this paper.

Note: This repository contains a frozen version (commit id: 127) that matches the paper's implementation. However, we plan to improve the implementation in the future.

Data Sets

The data sets are available online from the UCI Machine Learning Repository. We use the Iris data set, Breast Cancer Wisconsin (Original) data set, Pima Indians Diabetes data set, and the SPECTF Heart data set. All data sets are transformed in comma separated format (csv).

Requirements

For the backend:

For the frontend:

Usage

The code comes with wrappers for Matlab and Python. These wrappers write your data to a file called data.dat, run the bh_tsne binary, and read the result file result.dat that the binary produces. There are also external wrappers available for Torch, R, and Julia. Writing your own wrapper should be straightforward; please refer to one of the existing wrappers for the format of the data and result files.

Demonstration of usage in Python:

# first terminal: hosting the visualization side (client)
python3 -m http.server # for Python3
#or 
python -m SimpleHTTPServer 8000 # for Python2

# second terminal: hosting the computational side (server)
FLASK_APP=tsneGrid.py flask run

Reproducability