We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,请问运行LFM算法,报错“'Graph' object has no attribute 'node'”,是什么问题呀?
The text was updated successfully, but these errors were encountered:
这是因为networkx不再支持G.node,现在支持方法G.nodes。
Sorry, something went wrong.
改完nodes之后还是报错。 报错为:'KeysView' object is not subscriptable
出错语句在这: in execute(self) 7 def execute(self): 8 communities = [] ----> 9 node_not_include = self._G.nodes().keys()[:] 10 while(len(node_not_include) != 0): 11 c = Community(self._G, self._alpha)
No branches or pull requests
你好,请问运行LFM算法,报错“'Graph' object has no attribute 'node'”,是什么问题呀?
The text was updated successfully, but these errors were encountered: