Skip to content

Update UMAP callback to save embeddings#173

Merged
karinazad merged 1 commit intomainfrom
k/umap-save-embeddings
Aug 25, 2025
Merged

Update UMAP callback to save embeddings#173
karinazad merged 1 commit intomainfrom
k/umap-save-embeddings

Conversation

@karinazad
Copy link
Collaborator

@karinazad karinazad commented Jul 30, 2025

Description

Save UMAP embeddings when they are generated for later re-plotting

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Performance improvement
  • Code refactoring

@karinazad karinazad requested a review from ncfrey July 30, 2025 19:52
self,
embeddings: dict[str, torch.Tensor] | torch.Tensor,
output_file: str | UPath,
model_name: str = "model",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could something more descriptive be pulled from a variable to be used here as a default if the input is None ?

@karinazad karinazad merged commit dde1581 into main Aug 25, 2025
4 checks passed
@karinazad karinazad deleted the k/umap-save-embeddings branch August 25, 2025 17:57
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.

2 participants