-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
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
simulated annealing directed graph? #22
Comments
Hi Rob, There is a hidden behavior in networkx #define directed adj matrix create a graph objectIn [125]: graph = nx.from_numpy_matrix(jnk) get back adj matrixIn [126]: nx.adjacency_matrix(graph) Note it is now undirected. when you created your graph, if you dont explicitly create a digraph, it Can you confirm that this is what occurred, or did you explicitly pass a --Cindee On Fri, Apr 4, 2014 at 4:03 PM, rsblume [email protected] wrote:
Cindee Madison |
Hi Cindee: In [9]: whole_low In [10]: whole_low_sim_part=mod.simulated_annealing(whole_low) it produced an output.... seems funky... 268 nodes in 1 module and 3 in the second but could be my data. |
okay... the result should be funky, do not trust it... im meetings most of today will try to send a fix this afternoon/evening On Mon, Apr 7, 2014 at 10:17 AM, rsblume [email protected] wrote:
Cindee Madison |
I can confirm that the partition of the digraph and the partition of the graph via sim. anneal. are different. I think I am the only user so far who has directed graphs... |
one quick question, On Mon, Apr 7, 2014 at 1:53 PM, rsblume [email protected] wrote:
Cindee Madison |
no Thanks |
Hi Rob, So without self loops, code as structured should detect communities, Ill On Mon, Apr 7, 2014 at 4:58 PM, rsblume [email protected] wrote:
Cindee Madison |
Thanks Cindee, On Tue, Apr 8, 2014 at 7:08 AM, cindeem [email protected] wrote:
Robert Blumenfeld, Ph.D. |
Modularity is certainly a reasonable thing for directed graphs, but I don’t think the jury is out on how to handle the directed edges, as directed edges let you measure flow in the graph, which should be taken into account while partitioning the graph; this might get you a more realistic partition than simply treating the graph as undirected and ignoring how the direction of edges dictate flow in the graph. Here are a couple papers proposing methods to handle it. They also discuss overlapping communities, which we might want to start doing as well. http://arxiv.org/pdf/0904.3940.pdf On Apr 8, 2014, at 9:30 AM, rsblume [email protected] wrote:
|
Thanks Maxwell On Tue, Apr 8, 2014 at 9:44 AM, Maxwell Bertolero
Cindee Madison |
Hi team,
I accidentally passed a digraph to mod.simulated_annealing(). The algo is currently churning away without throwing up an warning or error. Is this desirable?
The text was updated successfully, but these errors were encountered: