Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mschubert/bhtsner
R package for Barnes-Hut t-SNE
https://github.com/mschubert/bhtsner
Last synced: about 12 hours ago
JSON representation
R package for Barnes-Hut t-SNE
- Host: GitHub
- URL: https://github.com/mschubert/bhtsner
- Owner: mschubert
- Created: 2014-02-06T16:26:59.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-17T12:31:22.000Z (almost 11 years ago)
- Last Synced: 2023-03-13T18:12:49.549Z (almost 2 years ago)
- Language: C++
- Homepage:
- Size: 247 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
bhtsneR
=======A minimal, CRAN-compliant wrapper for the Barnes-Hut implementation of
[T-distributed Stochastic Neighbor Embedding (t-SNE)](http://homepage.tudelft.nl/19j49/t-SNE.html).### Installation
You will need the following software:
* [cblas](http://www.netlib.org/blas/) or [openblas](https://github.com/xianyi/OpenBLAS)
* R packages: `Rcpp`, `devtools`Run this in R to install the current GitHub version:
```splus
devtools::install_github("mschubert/bhtsneR")
```### Running
Here is an example on how to run it on the iris data set:
```splus
library(bhtsneR)# perform Barnes-Hut t-SNE
result = bhtsne(iris[1:4])
plot(result, col=iris[[5]])# perform exact calculations
# this is equivalent to bhtsne(..., theta=0)
result = tsne(iris[1:4])
plot(result, col=iris[[5]])
```### More information
Barnes-Hut-SNE. (2013). L.J.P. van der Maaten. [arXiv:1301.3342](http://arxiv.org/abs/1301.3342).