How can PCA, t-SNE and UMAP be used to visualize high-dimensional data during EDA?

Quick Overview

Asks how PCA, t-SNE and UMAP can be used to visualize high-dimensional data during exploratory analysis. Tests knowledge of what each projection preserves and distorts, how preprocessing and parameters change the picture, and how to check whether a visible pattern is real.

How can PCA, t-SNE and UMAP be used to visualize high-dimensional data during EDA?

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Other

How can dimensionality-reduction techniques such as PCA, t-SNE or UMAP be used simply as a way to look at high-dimensional data during exploratory data analysis? The projection here is only for viewing the data. It will not feed a model. ```hint Start linear Think about what a linear projection can and cannot show you, and what you would check about it before reaching for a non-linear method. ``` ```hint Which distances survive For each method, ask which parts of the 2D picture you can trust: distances within a cluster, distances between clusters, or the sizes of clusters. ``` ### What a Strong Answer Covers - What each method preserves (global variance structure or local neighborhoods) and what it distorts - Preprocessing that changes the picture, such as scaling, encoding and outliers - How to get information out of the plot: coloring by known variables, reading loadings, spotting outliers - How to tell a real pattern from an artifact of parameters or random initialization ### Follow-up Questions - How would you choose perplexity for t-SNE or n_neighbors for UMAP, and what happens at extreme values? - Why is it common to reduce the data to about 50 principal components before running t-SNE? - How would you check whether a cluster you see in a UMAP plot is real? - If you later wanted to use one of these projections as model features, what would change?

Overview: Asks how PCA, t-SNE and UMAP can be used to visualize high-dimensional data during exploratory analysis. Tests knowledge of what each projection preserves and distorts, how preprocessing and parameters change the picture, and how to check whether a visible pattern is real.

General logo
General
Nov 25, 2026
mediumData ScientistOtherMachine Learning
0
0

How can dimensionality-reduction techniques such as PCA, t-SNE or UMAP be used simply as a way to look at high-dimensional data during exploratory data analysis?

The projection here is only for viewing the data. It will not feed a model.

What a Strong Answer Covers Guidance

  • What each method preserves (global variance structure or local neighborhoods) and what it distorts
  • Preprocessing that changes the picture, such as scaling, encoding and outliers
  • How to get information out of the plot: coloring by known variables, reading loadings, spotting outliers
  • How to tell a real pattern from an artifact of parameters or random initialization

Follow-up Questions Guidance

  • How would you choose perplexity for t-SNE or n_neighbors for UMAP, and what happens at extreme values?
  • Why is it common to reduce the data to about 50 principal components before running t-SNE?
  • How would you check whether a cluster you see in a UMAP plot is real?
  • If you later wanted to use one of these projections as model features, what would change?