Description
Homework 03
Show your work. Include any code snippets you used to generate an answer, using comments in the code to clearly indicate which problem corresponds to which code Consider the following graph:
Answer the following:
6. (3 points) Using networkx, find the prestige centrality of vertices 3 and 12. Include the code used to generate the answer. (Note that networkx calls the prestige centrality “eigenvector centrality”)
7. (3 points) Use Python to create a plot for the degree distribution of this graph. Include the code used to generate the plot as well as the plot in your submission.
Acknowledgements: Homework problems adapted from assignments of Veronika Strnadova-
Neeley.




Reviews
There are no reviews yet.