Add PaCMAP and LocalMAP dimensionality reduction algorithms#49
Open
patcon wants to merge 4 commits intosaehm:masterfrom
Open
Add PaCMAP and LocalMAP dimensionality reduction algorithms#49patcon wants to merge 4 commits intosaehm:masterfrom
patcon wants to merge 4 commits intosaehm:masterfrom
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Ports the Python PaCMAP implementation to JavaScript, following the existing UMAP/TriMap stylistic patterns. PaCMAP uses three explicit pair types (NN, MN, FP) with a dynamic three-phase weight schedule and Adam optimization. LocalMAP extends PaCMAP with embedding-space FP resampling in phase 3 for sharper local cluster separation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Updates all doc pages that list or reference UMAP as a representative DR algorithm to also include PaCMAP and LocalMAP, and adds a cross- reference from the UMAP page to its newer alternatives. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Author
|
Ah shoot, the CLAUDE.md was accidentally committed here, but if you dislike that, I can remove it (it just helps people using these tools to save tokens) Anyhow, I'm very happy to discuss or learn that such PRs are not welcome -- I've been using them for my own side-projects, but am new to how etiquette is developing for contributors, and this is my first go at that :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #48
Summary
PaCMAP(Pairwise Controlled Manifold Approximation Projection) andLocalMAPas new DR algorithms, following the existing UMAP/TriMap stylistic patternsReference
Test plan
PaCMAPandLocalMAPunit tests pass across Node and all three browser environmentsnpm run buildsucceeds with no new type errors🤖 Generated with Claude Code (~200 words of PR description from ~230 words of human prompts across this session)