Skip to content

fix t-SNE in plot_representation and Add UMAP support - #14

Closed
alihamraoui wants to merge 2 commits into
mainfrom
fix_tsne_umap_viz
Closed

fix t-SNE in plot_representation and Add UMAP support#14
alihamraoui wants to merge 2 commits into
mainfrom
fix_tsne_umap_viz

Conversation

@alihamraoui

Copy link
Copy Markdown
Collaborator

plot_representation documentation says it runs t-SNE, but it actually runs UMAP. plot_representation now supports both t-SNE and UMAP via a method argument.

t-SNE now defaults to learning_rate='auto', which fixes collapsed single-blob layouts on small datasets caused by scanpy's legacy fixed learning rate.

@quentinblampey

Copy link
Copy Markdown
Contributor

Do we really want to support both? I think everyone uses UMAP now, what do you think @HakimBenkirane?

If we use the UMAP only, we can simply update the docstrings to mention "UMAP" instead of "t-sne"!

@HakimBenkirane

Copy link
Copy Markdown
Collaborator

Do we really want to support both? I think everyone uses UMAP now, what do you think @HakimBenkirane?

If we use the UMAP only, we can simply update the docstrings to mention "UMAP" instead of "t-sne"!

Yes, UMAP is the default we can just change the docstrings

@alihamraoui
alihamraoui deleted the fix_tsne_umap_viz branch July 15, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants