t-SNE

A non-linear dimensionality reduction technique particularly well-suited for visualizing high-dimensional datasets in two or three dimensions by preserving local neighborhood structure.

Method

Converts high-dimensional distances to conditional probabilities (affinities); models low-dimensional affinities with a Student-t distribution; minimizes Kullback-Leibler divergence via gradient descent. Perplexity controls effective neighborhood size.

Applications

Visualization of single-cell RNA-seq data, image embedding exploration, word embedding visualization, cluster inspection, exploratory data analysis.

Advantages

Excellent local structure preservation; reveals clusters that linear methods miss; widely used and trusted in biology; produces compelling visualizations.

Limitations

Non-convex optimization (different runs differ); does not preserve global structure well; perplexity choice matters; not suitable as a general preprocessing step for downstream ML; computationally intensive for very large n.

Alternatives

UMAP (faster, better global structure), PCA, Isomap, LargeVis, PHATE, parametric t-SNE.

Sources

Educational reference only, not professional advice.

All algorithms