Skip to main content
. Author manuscript; available in PMC: 2015 Dec 1.
Published in final edited form as: Brain Imaging Behav. 2015 Dec;9(4):913–926. doi: 10.1007/s11682-015-9356-x

Algorithm 1. AGD algorithm for M2TL in Eq. (5)
1. Initialization: h0 > 0,η > 1, W0, W¯0=W0, h = h0 and α0 = 1.
2. for t=0,1,2,… until convergence of Wt do:
3.  Set h=ht
4.  while F(qh(W¯t))>Qh(qh(W¯t),W¯t), h = ηh
5.    Set ht+1=h and compute
   Wt+1 = argminwQht+1 (W,W¯t), αt+1=2t+3, βt+1 = Wt+1Wt and W¯t+1=Wt+1+1αtαtαt+1βt+1
 end-while
6. end-for