| TSNE | R Documentation |
Return the t-SNE dimensionality reduction.
TSNE(x, perplexity = 30, nstart = 10, seed = NULL, ...)
x |
A numeric dataset (data.frame or matrix). |
perplexity |
Specification of the perplexity. |
nstart |
How many random sets should be chosen? The embedding with the lowest final cost is kept. |
seed |
A specified seed for random number generation. |
... |
Other parameters. |
The Rtsne result. Rtsne requires distinct observations,
so duplicated rows of x are removed before fitting; the returned Y (and
costs) are then expanded back to nrow (x) rows, in the order of x, so
that they can be used directly alongside the original dataset – duplicated observations
simply share the same coordinates.
Rtsne
require (datasets)
data (iris)
TSNE (iris [, -5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.