get_percolated_cliques

时间:2018-07-15 14:18:33

标签: python networkx

当我在k_clique_communities中使用networkx时出现内存错误,现在我使用一种称为get_percolated_cliques的新算法。您可以在https://gist.github.com/conradlee/1341933#file-clique_percolation-py处找到完整的详细信息。

在数据集上运行代码后,尝试从生成器打印结果时,仍然遇到内存错误。

mygenerator = get_percolated_cliques(G,3)
for i in mygenerator:
  print(i)

enter image description here

0 个答案:

没有答案
相关问题