Skip to main content
. 2019 Apr 23;19(8):1912. doi: 10.3390/s19081912
Algorithm 1. Proposed Robust 2,1-norm Regularized Matrix Decomposition (RRMD) Algorithm
Input: The sampled EDM matrix M, the index set Ω, the parameters λ1, λ2 and threshold θ, the initial number of Gaussian components nc.
Output: The true underlying EDM matrix D^, the row structural anomaly R, and the column structural anomaly C.
1. Randomly initialize U0,V0,Π0,Σ0; initialize R0,C0 to zero matrix;
2. t=1;
3. While not convergence do
4.  (E-step): update Υ according to Equation (17);
5.  (M-step): update Π,Σ according to Equation (19) and Equation (20);
6.  (M-step): update U,V according to optimize Equation (24);
7.  (M-step): update R according to Equation (25);
8.  (M-step): update C according to Equation (26);
9.  (Tuning nc): Let gi and gi represent the number of i-th and j-th Gaussian component respectively. if |σi2σj2|/(σi2+σj2)<θ, then let πi=πi+πj, σi2=(giσi2+gjσj2)/(gi+gj), K=K1. Lastly, remove πj and σj2 from Π,Σ, respectively.
10.  t=t+1;
11. End while
12. R,C and D^=UVT.