31 May
2017
31 May
'17
1:40 a.m.
1. graph_tool version: 2.22 (commit 44bf2b92, Thu Mar 2 23:08:39 2017 +0000) 2. How do I put the graph over here? 3. Here: import numpy as np from graph_tool.all import * f_network = np.genfromtxt("Name of Edge List File", delimiter=',') f_network = f_network.astype(int) for edge in f_network: g.add_edge(edge[0], edge[1], add_missing = True) state_dc = minimize_blockmodel_dl(g, deg_corr = True, verbose = True); state_ndc = minimize_blockmodel_dl(g, deg_corr = False, verbose = False); Thanks, Sukrit -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.