Skip to main content
. 2017 Dec 2;22(12):2131. doi: 10.3390/molecules22122131
Algorithm 1: The RM-GNMF-based Algorithm
Input: The dataset X=[x1,x2,,xn]Rm×n,
 a predefined number of clusters k,
 parameters μ, λ,
 the nearest neighbor graph parameter p,
 maximum iteration number tmax.
Initialization:
Z=Λ=0, W0Rm×k, H0Rk×n.
Repeat
 Fix other parameters, and then update Z by formula (17);
 Fix other parameters, and then update W by:
W=(XZ+Λμ)H;
 Update H by H=UVT, where U and V are
 the left and right singular values of the SVD decomposition;
 Fix other parameters, and then update Λ and μ by formulas (26)(27);
 t = t + 1;
 Until ttmax.
Output: matrix WRm×k , matrix HRk×n.