Description Usage Arguments Details Value References
x2p
returns a pair-wise conditional probability matrix given an input
matrix X.
1 | x2p(X, perplexity = 30, tol = 1e-05)
|
X |
A data matrix with N rows. |
perplexity |
The target perplexity. Values between 5 and 50 are generally considered appropriate. Loosely translates into the expected number of neighbors per point. |
tol |
A small positive value. |
This function is an almost direct port of the original Python implementation
by van der Maaten and Hinton (2008). It uses a binary search to estimate
probability values for all pairwise-elements of X
. The conditional
Gaussian distributions should all be of equal perplexity.
An N x N
matrix of pair-wise probabilities.
L.J.P. van der Maaten and G.E. Hinton. “Visualizing High-Dimensional Data Using t-SNE.” Journal of Machine Learning Research 9(Nov):2579-2605, 2008. PDF.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.