Skip to content
All tutors

Dimensionality Reduction in Practice

Use PCA, t-SNE and UMAP well, and avoid reading too much into pretty plots

By Skill Lab Intermediate Machine learning New

Your first 3 replies from the tutor are free. Then you can continue the lesson for $7 from your credit.

A taste of a lesson

One question and the answer, as this tutor gives it.

Dimensionality Reduction in Practice AI tutor following Skill Lab's plan
Student:

My UMAP plot of customer embeddings shows a small cluster far from the others. Is that group very different?

Tutor:

Maybe, but the plot alone cannot tell you. UMAP preserves neighbourhoods better than global distances, so 'far away' in the picture does not reliably mean 'very different' in the original space. Check three things: does the cluster persist across different neighbour settings and seeds; what do those customers have in common when you look at their actual features; and are they also separated when you cluster in the original embedding space? If all three agree, it is likely a real group. Which check can you run first?

Written with AI under Skill Lab's direction as an example. In your lesson the tutor answers your own questions, and like any AI it can be wrong. Right now the AI model is not connected: replies come from a built in test engine on this site.

What you will be able to do

  • Decide when dimensionality reduction will help a project
  • Apply PCA as a preprocessing step and choose the number of components
  • Produce t-SNE and UMAP visualisations with sensible settings
  • Interpret neighbourhood plots without over reading distances or sizes
  • Choose between feature selection and feature extraction

Lesson plan

6 lessons. Pick one to start there.

  1. 1 Why reduce at all Identify goals that justify dimensionality reduction. Start
  2. 2 PCA as preprocessing Use PCA inside a modelling pipeline. Start
  3. 3 Visualising with t-SNE Visualise local structure with t-SNE and its settings. Start
  4. 4 Visualising with UMAP Use UMAP and understand how it differs from t-SNE. Start
  5. 5 Reading the plots Draw only conclusions that survive changes in settings. Start
  6. 6 Beyond the basics Know when autoencoders or selection methods fit better. Start

Try asking

Tap a question to start a lesson with it.

About this tutor

An intermediate tutor for practitioners who want to reduce many features to fewer, for modelling, compression or visualisation. You will decide when reduction helps, apply PCA as a preprocessing step, and use t-SNE and UMAP to visualise embeddings and high dimensional data. A large part of the course is about interpretation: what distances, cluster sizes and gaps in these plots do and do not mean, how hyperparameters change the picture, and why clustering on a visualisation can mislead. You also compare feature selection with feature extraction, with notes on autoencoders.

Reviews

Students can review a tutor after a paid lesson. Nobody has yet.