Definition

Uniform manifold approximation and projection (UMAP) is a nonlinear dimensionality reduction algorithm similar to t-SNE. However, unlike to t-SNE, UMAP uses spectral embedding to initialize the low-dimensional graph, and uses a graph that only connected to each points’ nearest neighbors.
Algorithm
-
For each point in high-dimensional space, find its nearest neighbors.
-
Compute the distances between the nearest neighbors for each point.
-
Calculate the local connectivity parameter for each point using the equation where is the number of nearest neighbors, and is the minimum distance among the nearest neighbors
-
Calculate the edge weights to the nearest neighbors and symmetrize the graph

-
Initialize the low-dimensional representation using spectral embedding.
-
optimize the low-dimensional representation by minimizing both the attractive and the repulsive force using SGD.
The cost function is defined as where is the set of edges, and and are the weights of the edge of the high-dimensional and low-dimensional graph respectively.