The so-called symmetric weighted adjacency matrix is denoted by \({\bf{W}}^{(p)} \in {\Bbb R}^{N \times N}\), whose ijth element represents the total number of comments that participants i and j have given to each other in the pth prompt. Figure 2 illustrates the construction ...
adj_block[0:N,N:2*N]=np.identity(N)# L_12adj_block[0:N,2*N:3*N]=np.identity(N)# L_13adj_block[N:2*N,2*N:3*N]=np.identity(N)# L_23# use symmetric inter-adjacency matrixadj_block+=adj_block.T Create an instance of the MultilayerGraph class mg=mx.MultilayerGraph(list_...