Research Article

General Community Detection in Attributed Networks with Consistent-Module Constrained Nonnegative Matrix Factorization

Algorithm 1

GCDNMF Algorithm.
Input: Adjacency matrix ;
  Attribute matrix ;
  Number of communities ;
  Number of iterations ;
Output: Community label for each node
1: initialize , and randomly
2: initialize by K-rank-D
3: for do
4:  
5:  
6:  
7:  
8: end for
9: return