Coder Social home page Coder Social logo

interpretable_tsne_experiment's Introduction

Interpretable t-SNE Experiments

Code for reproducing the experiments found in our GLBIO oral presentation: "Towards Computing Attributions for Dimensionality Reduction Techniques"


Instructions

To reproduce the results from the paper, you first want to install our package from TestPyPi:

pip install -i https://test.pypi.org/simple/ interpretable-tsne

Alternatively, you can install from source using the following git repo:

https://github.com/MattScicluna/interpretable_tsne

Dont forget to install the required packages:

pip install -r requirements.txt

If you want to run the jupyter notebooks, then you will want to set up a kernel for your jupyter notebook:

python -m ipykernel install --user --name <YOUR_ENV_NAME> --display-name "Python (<YOUR_ENV_NAME>)"

To run the experiments

  1. Download the datasets

    bash create_experiment_files.sh
    

    Note that all datasets (except for SARS-CoV-2) are available here

  2. Define paths in set_environment_variables_public.sh

  3. Run experiments

    bash sim_data_experiment.sh
    bash mnist_experiment.sh
    bash mnist_create_table.sh
    bash sars_cov_2_experiment.sh
    
  4. Check out the Notebooks to generate the figures found in the paper!

Tutorial

We have a tutorial notebook available in notebooks/synthetic_data_tutorial.ipynb

interpretable_tsne_experiment's People

Watchers

Matthew Scicluna avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.