YingfanWang/PaCMAP
PaCMAP: Large-scale Dimension Reduction Technique Preserving Both Global and Local Structure
What it solves
PaCMAP addresses the limitation of traditional dimensionality reduction tools that typically prioritize either local structure (like t-SNE or UMAP) or global structure (like TriMAP). It provides a way to visualize high-dimensional data while preserving both local and global relationships simultaneously.
How it works
PaCMAP (Pairwise Controlled Manifold Approximation) optimizes low-dimensional embeddings by using three specific types of point pairs: neighbor pairs, mid-near pairs, and further pairs. By dynamically using "mid-near" pairs, it captures global structure first and then refines the local structure. The package is designed to be compatible with the scikit-learn API, making it easy to integrate into existing data science workflows.
Who it’s for
It is for data scientists and researchers who need to visualize complex, high-dimensional datasets—such as single-cell genomics or image data—without sacrificing either the local clusters or the overall global layout of the data.
Highlights
- Preserves both local and global data structure in a single visualization.
- Compatible with the scikit-learn API for seamless integration.
- Supports multiple K-Nearest Neighbor backends (FAISS, Annoy, Voyager) for performance.
- Includes advanced methods like LocalMAP for improved cluster separability.
- Provides options to use precomputed distance matrices for custom metrics.
- Award-winning software recognized by the American Statistical Association.
Related
- Project
- Project
- Project
- Project
- Project