Uncategorized

Python Program

From the NetworkX library in python, load the karate club dataset and perform the following:Visualize the graph
Does this graph have any connected components? Comment on the connectivity of the graph.
Does this graph have any communities?
Create the inverted graph:
the inverted graph has edges between any two nodes which are not connected in the original graph
edges between nodes in the original graph should be removed in the inverted graph

Comment on the connectivity of the resulting graph. Also, do you see any communities in the inverted graph?

Leave a Reply

Your email address will not be published. Required fields are marked *