internalsGet Pro

Module 08 · Lesson 4 of 9Pro

t-SNE and UMAP: seeing high-dimensional data

Level
Intermediate
Topic
Unsupervised learning
Reading time
18 min

When you finish this page you can

  1. Explain why a PCA chart can hide groups that t-SNE and UMAP show, and what each method keeps from the original columns.
  2. Read a t-SNE or UMAP picture correctly, trusting who sits next to whom and not island sizes, gaps between islands or density.
  3. Set perplexity, n_neighbors and the seed, and check that a pattern survives several runs before you believe it.
  4. Cluster in the original columns and use the 2-D picture only to look at the result, sized for 200,000 rows on a free notebook.
  1. PCA: keeping the directions that matter17 min
  2. Clustering: finding groups without labels14 min

Eight islands, and Joseph wants to mail them

is our example online store. Its ML team works on a notebook sample of 200,000 customers. Each customer has 48 columns: monthly spend in 48 product categories. Joseph’s growth team wants customer groups, so each group can get its own campaign.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan