Research Article

Community Detection Based on DeepWalk Model in Large-Scale Networks

Algorithm 3

Gaussian mixture clustering with variational inference.
 Input: sample data set the prior variance of component variance σ2; the maximum number of mixture components ; concentration parameter weight_concentration_prior.
 Output: cluster partition (K-categorical)
(1) Initializing variational parameters
(2)while ELBO has not converged do
(3) for j = 1: n do
(4)  set
(5) end
(6) for i = 1: do
(7)  set
(8) end
(9) Compute ELBO ()
(10)end
(11)
(12)for j = 1: n do
(13) Calculate for sample data point
(14)
(15) end