lmcinnes / lmcinnes/umap

Under certain `min_dist`/ `spread` params UMAP fails to separate data

Open
#457 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.3k
Forks
871
Avg merge
1d 13h
Merged PRs (30d)
5

Description

Thanks for UMAP. I was playing with the parameters and noticed an odd pattern that under certain parameters the UMAP 'collapses' and all the points become arranged on a single line, e.g.

Regular seperation, min_dist=1.1 and spread=2.1:

umap1

Collapsing behaviour min_dist=2.1 and spread=0.1 (also with min_dist=1.1):

umap2

This isn't really a practical problem for me since I can just select different parameters, but it seems odd, and I'm not sure if it a known curiosity or not.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are identified in the report. Start by reproducing UMAP with the stated min_dist and spread values, then trace the embedding behavior to determine whether the line collapse is expected or a bug; done means explaining or correcting that behavior with a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.