t-SNE t-SNE is an unsupervised learning method in the non-linear manifold learning family. This page summarizes its mechanism, practical uses, important trade-offs, and a browser-based concept explorer.
What is learned. During training, the algorithm builds or adjusts the parameters and internal representation used by t-SNE. The core learning mechanism is: Converts pairwise similarities into probabilities and minimizes the Kullback-Leibler divergence between high- and low-dimensional distributions.
How training becomes inference. Prepare data → initialise the model state → evaluate the current objective → update parameters or structure → validate progress → use the final state for inference. Once training stops, the fitted state is reused on unseen inputs rather than being reconstructed from scratch. The resulting output is: A lower-dimensional embedding or transformed representation designed to preserve selected structure.
Why practitioners use it. Exceptional visualization of tight local neighborhood clusters in 2D or 3D. Typical fits include Visualizing complex high-dimensional feature embeddings, deep learning latent space inspection.
What to verify before trusting it. Slow O(n^2); fails to preserve global distances; cannot project new unseen data points without retraining. The visual simulation is intentionally simplified, so real use should still validate preprocessing, data independence, hyperparameters, uncertainty and task-appropriate metrics.
Internal statethe parameters and internal representation used by t-SNE
Typical outputA lower-dimensional embedding or transformed representation designed to preserve selected structure.
Good fitVisualizing complex high-dimensional feature embeddings, deep learning latent space inspection.
Main cautionSlow O(n^2); fails to preserve global distances; cannot project new unseen data points without retraining.