Skip to content

Benchmarks of dimensionality reduction algorithms

Notifications You must be signed in to change notification settings

MaayanLab/Graph-DR

Repository files navigation

Graph-DR: Benchmarking of dimensionality reduction algorithms

A series of Jupyter Notebooks experimenting on different dimensionality reduction algorithms and their performance on the MNIST dataset.

Get started

There are two options to run the notebooks in this repository:

1. Docker

To start running the docker image:

docker run -it -p 8888:8888 maayanlab/graph-dr:2019

Next, you can open a browser and go to http://localhost:8888. You will be required to enter the token to access the notebook server, which can be found in the terminal running the Docker image.

2. virtualenv

The recommended way to run these notebooks live is to set up a isolated Python envrionment using virtualenv, after cloning this repository:

git clone https://github.com/MaayanLab/Graph-DR.git
cd Graph-DR/

Run the following to set up a Python virtural environment:

virtualenv venv

Then activate the virtural environment and install the required Python packages:

source venv/bin/activate
pip install -r requirements.txt

Next, you can start a Jupyter server:

jupyter notebook

Other dependencies

Some code blocks in the notebooks require Cytoscape (>3.5.1) to be running as the background.

To run the firework layout, you will also need to install the a Cytoscape app AllegroLayout. Once the jar file is downloaded, go to Apps -> Install from File -> open the jar file.

References