Skip to main content
. Author manuscript; available in PMC: 2018 Jun 1.
Published in final edited form as: Inf Process Med Imaging. 2017 May 23;10265:543–555. doi: 10.1007/978-3-319-59050-9_43

Algorithm 1 The GGL-SCCA Algorithm

Require:
X = [x1, …, xn]T, Y = [y1, …, yn]T
Ensure:
Canonical loadings u and v.
1: Initialize u ∈ ℝp×1, v ∈ ℝq×1;
2: while not convergence do
3:  Update the diagonal matrix D1 by taking derivative of Eq. (5);
4:  Solve u according to Eq. (8);
5:  Update the diagonal matrix D2 by taking derivative of Eq. (5);
6:  Solve v according to Eq. (9);
7: end while
8: Scale u so that Xu22=1, and v so that Yv22=1