Skip to main content
. 2022 Oct 2;24(10):1409. doi: 10.3390/e24101409
Algorithm 1 Deep Graph Clustering via Graph Augmentation
Require:
  Attribute matrix X, adjacent matrix A, iteration number iter, hyperparameter λ,K
Ensure:
  Clustering result Y;
  1. Construct Top-K similarity matrix As

  2. fort=1 to iter do

  3.    Generate the embeddings h1,h2 by (1),(2)

  4.    Generate hf by (3)

  5.    Construct M by (4)

  6.    Calculate reconstruction loss by (11)

  7.    Generate Q by (12)

  8.    Generate P by (13)

  9.    Calculate clustering loss by (14)

  10.    Update the whole framework by (15)

  11. end for

  12. Obtain Y by (16).

  13. returnY;