powered by
Title
PowerIteration( tnsr, m, k, rank = NULL, type = "TWIST", U_0_list, delta1 = 1000, delta2 = 1000, max_iter = 5, tol = 1e-05 )
a list including the core tensor Z, network embedding and node embedding
the adjacency tensor of the network
the number of types of the network
the number of groups of vertices
the rank of the core tensor calculated by the equation
specifies the iterative algorithm to run ‘TWIST’ or ‘Tucker’
InitializationMMSBM outputs
tuning parameters for regularization in mode1
tuning parameters for regularization in mode2
the max times of iteration
the convergence tolerance
tnsr = GenerateMMSBM(200, 3, 10, 2, d = NULL, r = NULL) U_list = InitializationMMSBM(tnsr, 3, 2, rank = NULL) embed_list = PowerIteration(tnsr,3,2,rank=NULL,type="TUCKER",U_0_list=U_list)
Run the code above in your browser using DataLab