code: def procrustes_align(embedding_base, embedding_to_align, anchors):
      subset1 = embedding_base[anchors[0]]
      subset2 = embedding_to_align[anchors[1]]
      M = subset2.T @ subset1
      U, S, V = np.linalg.svd(M)
      R = U @ V
      return embedding_to_align @ R
  
imports: import numpy
  import numba
  from sklearn.base import BaseEstimator
  from sklearn.utils import check_array
  from umap.sparse import arr_intersect
  from umap.sparse import arr_union
  from umap.umap_ import UMAP, make_epochs_per_sample
  from umap.spectral import spectral_layout
  from umap.layouts import optimize_layout_aligned_euclidean
label_desc: Use image node_id 3 for calling a global function with example usage: procrustes_align(embedding_base, embedding_to_align, anchors) and returns: unknown