What does the min_dist parameter control in a UMAP embedding?

Quick Overview

Asks what the min_dist parameter does in a UMAP embedding and how changing it affects the result. Tests understanding of the two stages of UMAP, how layout parameters differ from neighbor parameters, and how to set it for plotting versus clustering.

What does the min_dist parameter control in a UMAP embedding?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What does the `min_dist` parameter control in a UMAP embedding? ```hint Separate the two stages UMAP first builds a neighbor graph in the original space and then lays that graph out in low dimensions. Work out which of the two stages this parameter belongs to. ``` ### What a Strong Answer Covers - What the parameter changes in the embedding itself. - Which stage of UMAP it acts in, and what it leaves unchanged. - How small and large values change the look of the plot, with a typical use for each. - Its default value and how it relates to `spread`. ### Follow-up Questions - How does the effect of `n_neighbors` differ from the effect of `min_dist`? - What does `spread` do, and why must `min_dist` be at most `spread`? - Why do people often set `min_dist` to 0 and use more than two output dimensions before running HDBSCAN on a UMAP embedding? - Can you read the distances between clusters in a UMAP plot as meaningful?

Overview: Asks what the min_dist parameter does in a UMAP embedding and how changing it affects the result. Tests understanding of the two stages of UMAP, how layout parameters differ from neighbor parameters, and how to set it for plotting versus clustering.

Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

What does the min_dist parameter control in a UMAP embedding?

What a Strong Answer Covers Guidance

  • What the parameter changes in the embedding itself.
  • Which stage of UMAP it acts in, and what it leaves unchanged.
  • How small and large values change the look of the plot, with a typical use for each.
  • Its default value and how it relates to spread .

Follow-up Questions Guidance

  • How does the effect of n_neighbors differ from the effect of min_dist ?
  • What does spread do, and why must min_dist be at most spread ?
  • Why do people often set min_dist to 0 and use more than two output dimensions before running HDBSCAN on a UMAP embedding?
  • Can you read the distances between clusters in a UMAP plot as meaningful?