Skip to content

feat: generate embedding from index and initialization#1199

Open
wilsonjr wants to merge 4 commits intolmcinnes:masterfrom
wilsonjr:transform-adjacency
Open

feat: generate embedding from index and initialization#1199
wilsonjr wants to merge 4 commits intolmcinnes:masterfrom
wilsonjr:transform-adjacency

Conversation

@wilsonjr
Copy link
Copy Markdown

This PR aims to reduce memory usage when an index is pre built for the input data. The user is able to generate an embedding given the precomputed index and initialization.

  • Generates embeddings using precomputed_knn and init (np.array);
  • Refactors fuzzy_simplicial_set by pulling out nearest_neighbor call (so we don't require passing the input data);
  • Usage example

@lmcinnes
Copy link
Copy Markdown
Owner

This looks quite useful. There are a number of changes, so I'll have to take some time shortly to go through it and verify everything.

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