Skip to main content
. Author manuscript; available in PMC: 2021 Oct 13.
Published in final edited form as: J Mach Learn Res. 2021 Mar;22(141):1–49.

Algorithm 1.

Multiple adjacency spectral embedding (MASE)

Input: Sample of graphs A(1),…, A(m); embedding dimensions d and {di}i=1m.
  1. For each i ∈ [m], obtain the adjacency spectral embedding of A(i) on di dimensions, and denote it by V^(i)Rn×di.
  2. Let U^=(V^(1)V^(m)) be the n×(i=1mdi) matrix of concatenated spectral embeddings.
  3. Define V^Rn×d as the matrix containing the d leading left singular values of U^.
  4. For each i ∈ [m], set R^(i)=V^A(i)V^.
Output: V^,{R^(i)}i=1m.