Skip to main content
. Author manuscript; available in PMC: 2018 Apr 23.
Published in final edited form as: Res Comput Mol Biol. 2017 Apr 12;10229:287–302. doi: 10.1007/978-3-319-56970-3_18

Algorithm 1.

Algorithm to solve problem (11).

Input:
  SNP matrix X ∈ ℝd×n, longitudinal phenotype matrix Y = [Y1 Y2YT] where Yt|t=1Tn×c, parameter δ1 = 10−12 and δ2 = 10−12, number of groups g.
Output:
  Weight matrix W = [W1 W2WT] where Wt|t=1Td×c and g different group matrices Qi|i=1gcT×cT which groups the tasks into exactly g subspaces.
  Initialize W by the optimal solution to the ridge regression problem: minWWTXYF2+WF2
  Initialize Q matrices randomly
  while not converge do
    1. Update D according to the definition in Eq. (12).
    2. Update Q according to the solution in Eq. (14)
    3. Update B according to the definition in Eq. (13).
    4. Update W, where the solution to the k-th column of W is displayed in Eq. (15).
  end while