Skip to main content
. Author manuscript; available in PMC: 2022 Feb 3.
Published in final edited form as: IEEE/ACM Trans Comput Biol Bioinform. 2021 Feb 3;18(1):227–239. doi: 10.1109/TCBB.2019.2947428
Algorithm 1 Algorithm to solve Eq. (9)
Require:XRn×p,YjRn×q,j=1,,c,β,λ1,λ2,γ1,γ2Ensure:Canonical weightsUandV.1:InitializeURp×c,VRq×c;2:whilenot convergencedo3:UpdateD~¯gkandD1¯gk;4:SolveUaccording to Eq.(13),and normalizeujtoXuj22=1;5:UpdateD2;6:Solvevj(j=1,,c)according to Eq.(16),andnormalizevjtoYjvj22=1;7:endwhile