tnetwork.DCD.externals.transversal_network_mucha_original

tnetwork.DCD.externals.transversal_network_mucha_original(dyn_graph: tnetwork.dyn_graph.dyn_graph_sn.DynGraphSN, om=0.5, form='local', elapsed_time=False, matlab_session=None)[source]

Multiplex community detection, Mucha et al.

Algorithm described in [1]

Brief summary: a single network is created by adding nodes between themselves in different snaphsots. A modified modularity optimization algorithm is run on this network

For this function, it is necessary to have Matlab installed And to set up the matlab for python engine, see how to there https://fr.mathworks.com/help/matlab/matlab_external/install-the-matlab-engine-for-python.html (you can find the value of matlabroot by tapping matlabroot in your matlab console)

If you do not have matlab, you can try to use the transversal_network_leidenalg which is slower but requires only a package installation

[1] Mucha, P. J., Richardson, T., Macon, K., Porter, M. A., & Onnela, J. P. (2010). Community structure in time-dependent, multiscale, and multiplex networks. science, 328(5980), 876-878.

Parameters:
  • dyn_graph – dynamic network
  • om
  • form
  • elapsed_time
  • matlab_session
Returns: