Log inStart free
LESSON 4.36 · 6 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW

UMAP

Watch UMAP link each point to its neighbors, then flatten a rolled sheet.


Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 2 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 4.36 · MAP BAY120 POINTS · 3-D · CLUSTERS A TO D
01
Stage 1 of 6 · Points in 3-D
120 points lie on a rolled sheet in 3-D. Clusters A to D run along the sheet.
Explain it simply

The teal points sit on a sheet rolled up like a carpet. A10 and D8 look close: they are 6.2 apart in 3-D. Along the sheet, they are 51.1 apart. A good flat map keeps points close only if they are close on the sheet.

120 points on a rolled sheet in 3-D, in clusters A to D along the sheet. Below, the same points on the sheet unrolled. A10 and D8 are close in 3-D but far apart on the sheet.

input points, clusters A–Dneighbor links, weight wshortcuts, tears, lossmap points, curve qthe rolled sheet
the map starts at stage 53-D input · 120 points2-D mapthe sheet unrolled: every point where it really lies6.2 in 3-DABCDC10A10D851.1 along the sheetABCDA10D8the map starts at stage 53-D input · 120 points2-D mapthe sheet unrolled: every point where it really lies6.2 in 3-DABCDC10A10D851.1 along the sheetABCDA10D8
Toy: the 4.C4 roll · 120 points in 4 clusters · neighbor graph · 500 epochs · seeded
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
xi=(ticos⁡ti, hi, tisin⁡ti)\sy{x}{data}{x_i} = (t_i \cos t_i,\ h_i,\ t_i \sin t_i)
∥xA10−xD8∥=6.24,along the sheet: 51.1\|x_{\mathrm{A10}} - x_{\mathrm{D8}}\| = 6.24,\quad \text{along the sheet: } 51.1

Each point sits at angle t around the roll and height h.

Common mix-ups

MYTHGaps between clusters in a UMAP map show real distances.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01If k goes from 6 to 20, do the roll's two ends stay far apart in the map?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
  • 5 more stages and 2 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.