Research Article

Unsupervised Community Detection Algorithm Based on Graph Convolution Network and Social Media

Algorithm 2

Pseudo code of negative sample node labeling process.
Input: Network ; the given starting node , Node distance ;
Output: Negative sample set NS.
Begin
(1)  Negative sample set: .
(2)  ; N = {}
(3)Whiledo
  
(4)For each
   Neigh add the neighbor nodes of into neighbor set Neigh
End for
(5)   
(6)   
(7)End While
(8).
End