t-SNE vs UMAP, and how to read them
What you can and can’t read from a dimension-reduction map, and how to pick perplexity and n_neighbors.
With two or three variables, one scatter plot shows your data. Past eight or ten, it's a different story.
"Can I see this data in a single picture?"
That's what dimension-reduction maps like t-SNE and UMAP are for. Here is what these maps show, what they don't, and how to choose their settings.
What is a dimension-reduction map?
It moves data made of many variables onto points on a 2-D plane. There is one core rule: cases that were similar in the original data sit close together on the map. That's how groups of similar cases become visible.
Today's example
- Data — 1,000 songs
- Variables — tempo, energy, danceability, acousticness, loudness, mood (valence), speechiness, instrumentalness (8)
- Colour column — genre (ballad · hip-hop · dance)
The map is built from the 8 variables only; genre is used just for colouring afterwards. That way you can check whether songs group together without knowing their genre.
What you can read from the map
- Points gathered close together are songs that were similar to begin with
- If one colour clusters in one place, that genre has distinct audio features
- A point far from the rest is a song with few close neighbours
In the example map, ballads appeared as two groups. Within the same genre, songs with a different feel — acoustic ballads and band-sound ballads — gathered separately.
What you must not read from it
- Distance between groups — looking far apart doesn't mean more different
- Size and density of groups — looking spread out doesn't mean more varied
- Horizontal and vertical axes — they mean nothing
t-SNE in particular focuses only on keeping close neighbours, and barely considers where distant groups sit. So "hip-hop and ballads are far apart on the map" is a sentence you must not report. Read the map only as "what is close to what".
t-SNE's perplexity
Perplexity is roughly how many neighbours each point looks at.
- Small (5–10) → looks only at very close neighbours, giving many small clumps
- Large (30–50) → looks wider, bringing out the big picture
Start at 30, then try a few values such as 5 · 15 · 30 · 50, and trust only groups that show up under every setting as real structure.
t-SNE starts from a random layout, so the arrangement can shift a little each run. Too few iterations can also leave the layout unsettled.
UMAP's n_neighbors and min_dist
- n_neighbors — how many neighbours to look at (small for fine detail, large for the big picture)
- min_dist — how tightly points may pack (smaller gives crisper clumps)
The usual starting point is n_neighbors 15, min_dist 0.1.
UMAP is faster than t-SNE and tends to keep the overall flow a bit better. In the example, the flow from ballad → hip-hop → dance was clearer too. Still, reading distances between groups as numbers is off-limits for UMAP as well.
How is it different from PCA?
PCA (principal component analysis) combines variables linearly and projects onto the directions of largest variance, so its axes mean something and it gives the same result every time.
t-SNE and UMAP, in contrast, can unfold curved, tangled structure — but their axes and distances carry no meaning.
So for exploring "what's there", use t-SNE or UMAP; for deciding "how many variables to reduce to", PCA fits better.
Before you trust the result
- Do the same groups appear when you change the settings?
- Was the colour column (genre) kept out of the calculation?
- Did you confirm the groups with a cluster analysis on the original variables?
A dimension-reduction map is not a conclusion but a lens for forming hypotheses. Once you spot "there seem to be groups like this", check again with a method such as cluster analysis.
How to write it up
Eight audio features of 1,000 songs were standardized and visualized in two dimensions with t-SNE (perplexity 30, 1,000 iterations); songs tended to group by genre even without genre information (silhouette by genre = .53, KL divergence = 1.05). The same pattern appeared with UMAP (n_neighbors = 15, min_dist = 0.1; trustworthiness = .96), and ballads split into two subgroups. Distances between groups and their sizes on the map were not interpreted.
Example sentence · the numbers are made up
In Skari
In Skari Statistics, choose t-SNE or UMAP under Structural › Factor Analysis. Principal Component Analysis (PCA) and Multidimensional Scaling (MDS) are in the same menu. Each analysis runs Variables → Settings → Validation → Result.
In the variables step you pick the numeric variables for the map and an optional colour / label column. The label is used only for colouring and the silhouette, never in the embedding itself.
t-SNE has two settings, perplexity and maximum iterations, and the variables are standardized automatically before embedding.

Draw a t-SNE map of your data
Opens Statistics at Structural → Factor Analysis → t-SNE
The validation step checks that the perplexity suits the sample size and that no variable is constant or has blanks.
The report shows the map coloured by your label.

Embedding diagnostics such as KL divergence and the silhouette by label are listed, along with the perplexity actually used.

For UMAP you set n_neighbors, min_dist and the distance metric (euclidean · manhattan · cosine · correlation).

Its report adds values such as Trustworthiness, showing how well neighbour relations were kept.

Reports download as Word, and each point's map coordinates can be saved with Embedding (Excel) to carry into another analysis.
Wrapping up
t-SNE and UMAP maps show "what is close to what". Don't read distances between groups or their sizes; just checking that the same groups appear when you change the settings makes your exploration far more trustworthy.
Want the theory behind it?The Academy's t-SNE and UMAP chapter covers neighbourhoods and settings in depth →