Skip to main content
. 2022 May 25;14:916020. doi: 10.3389/fnagi.2022.916020
The optimization steps of LMLS-SRC algorithm are shown in Algorithm 1.
Input: training set X and its label matrix Y, tolerance error δ, maximum number of iterations maxiter, parameters λ1234, and λ5,
Output: parameters D, A, and W.
Initialize: initialize D and A using the LC-KSVD algorithm, W = I, m = 1,
Calculate matrices Qw, Qb, and P;
While not converged and mmaxiterdo
 Calculate D(m) by Eq. (20);
 Calculate A(m) by Eq. (16);
 Calculate W(m) by Eq. (22);
 Check the convergence condition |F(D(m),A(m),W(m))-F(D(m-1),A(m-1),W(m-1))|F(D(m-1),A(m-1),W(m-1))<δ
m = m + 1
end while