https://github.com/oreillymedia/an-illustrated-introduction-to-the-t-sne-algorithm
An Illustrated Introduction to the t-SNE Algorithm using Docker
https://github.com/oreillymedia/an-illustrated-introduction-to-the-t-sne-algorithm
Last synced: 21 days ago
JSON representation
An Illustrated Introduction to the t-SNE Algorithm using Docker
- Host: GitHub
- URL: https://github.com/oreillymedia/an-illustrated-introduction-to-the-t-sne-algorithm
- Owner: oreillymedia
- Created: 2015-05-28T15:45:52.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-28T15:56:05.000Z (almost 10 years ago)
- Last Synced: 2025-03-21T09:04:09.939Z (about 1 month ago)
- Language: CSS
- Homepage:
- Size: 3.9 MB
- Stars: 6
- Watchers: 20
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# An Illustrated Introduction to the t-SNE Algorithm
This is an interactive introduction to a popular dimensionality reduction algorithm: t-distributed stochastic neighbor embedding (t-SNE). Developed by Laurens van der Maaten and Geoffrey Hinton, this algorithm has been successfully applied to many real-world datasets. Here, we'll follow the original paper and describe the key mathematical concepts of the method, when applied to a toy dataset (handwritten digits). We'll use Python and the scikit-learn library.## Quickstart
You can run this in a docker container with all the dependencies pre-installed, interactively in your browser, by pulling [this image](https://registry.hub.docker.com/u/oreilly/an-illustrated-introduction-to-the-t-sne-algorithm/) from docker hub.
After `boot2docker start`:
```
docker pull oreilly/an-illustrated-introduction-to-the-t-sne-algorithm
docker run -d -p 8888:8888 -p 80:80 oreilly/an-illustrated-introduction-to-the-t-sne-algorithm
open http://$(boot2docker ip)
```If the last step doesn't work, run `boot2docker ip` and visit that address in a browser. Generally, it's [http://192.168.59.103](http://192.168.59.103).
Note, this won't work if you're running another container that binds to these ports (80 and 8888).
## More Info
Originally based on [this](https://github.com/ipython/docker-notebook/tree/master/scipyserver), which became [this](https://github.com/oreillymedia/thebe-docker-local).
### Build the Image
For this, you need to clone down this repo, and then from this directory.
```
docker build -t oreilly/an-illustrated-introduction-to-the-t-sne-algorithm .
```### To Run
```
docker run -d -p 8888:8888 -p 80:80 -v $PWD/public:/var/www/html oreilly/an-illustrated-introduction-to-the-t-sne-algorithm
```Assuming you're running boot2docker, now you can visit http://192.168.59.103 in your browser.
### Run Container Interactively & SSH In For Debugging
```
docker run -p 8888:8888 -p 80:80 -i -t --entrypoint /bin/bash oreilly/an-illustrated-introduction-to-the-t-sne-algorithm
```