Skip to main content
. Author manuscript; available in PMC: 2021 Mar 14.
Published in final edited form as: Proc SIAM Int Conf Data Min. 2020;2020:316–324. doi: 10.1137/1.9781611976236.36

Algorithm A.1.

function HarmonicAlignment (X,Y,K,t,)=Φt(X,Y)

Input: Data sets (X,Y)
Kernel parameters K={K(X),K(Y)}
Alignment diffusion time t
Alignment band count
Output: Aligned diffusion map Φt(X, Y)
  1: for Z=X,Y do
  2: G(Z){W(Z),L(Z),D(Z)}GaussKernelGraph(Z,K(Z)) Alg. A.2
  3: Ψ(Z),Λ(Z)SVD(IL(Z)) Graph Fourier basis
  4: end for
  5: Φt(X,Y)Align({Ψ(X),Λ(X),D(X)},{Ψ(Y),Λ(Y),D(Y)},t,) Alg. A.3
  6: return Φt(X,Y)