# 网络安全代写 | OMSCS 7280: Network Science

本次美国CS代写主要是计算机网络相关的分析实现

Learning Objectives

OMSCS 7280: Network Science Assignment-5

The objective of this assignment is to learn about network models and statistical analysis of network data, covered in Lesson 12 and 13.

Please submit your Jupyter Notebook Assignment5-YOURLASTNAME.ipynb Part I. Modeling the NCAA College Football 2000 Network

For the first part of this assignment, you will be working with a network that represents American football games between Division IA colleges during the regular season Fall 2000. This network contains 115 nodes and 613 edges.

1.1 Structural Properties of the Graph

Here you will be asked to show some of the structural properties of the empirical network.

1.2 Configuration Model Graph

Here you will be working with the Configuration Model graph generator in NetworkX. The main parameter in the configuration model is the degree sequence which you have already calculated for the empirical network above.

clustering coefficient, transitivity and assortativity. Report the distribution of each property among 100 graphs using appropriate plots (histogram or boxplot would be fine).

1.3 Stochastic Block Model Graphs

Here you will be working with the Stochastic Block Model generator in NetworkX. This model has two main parameters, which are a list of community sizes, and a matrix that represents the inter-community connection density. You have already calculated both for the empirical network in Part 1.1.

clustering coefficient, transitivity and assortativity. Report the distribution of each property among 100 graphs using appropriate plots.

1.4 Hierarchical Random Graphs

Here you will be working with the Hierarchical Random Graphs. We have composed a dendrogram fitted on the empirical network, as in “football-hrg.gml”, using PyHRG. In brief, the dendrogram is formulated as a directed graph. Each leaf node (node with no out-going edges) in the dendrogram represents a node in the empirical network. Each non-leaf node stores the information about its left/right child (“L” / “R”) and the probability of leaf nodes in the left tree connecting to the leaf nodes in the right tree (“p”), as node attributes.

1.5 Best Fit

Using a one-sample t-test, we can examine if various features of the empirical network are well- represented in the networks generated by the models used in Part 1.2, 1.3, and 1.4.

In this part we will be working with the Slashdot social network. In the file soc-Slashdot0902.txt stores the list of edges in this network. The network has 82,168 nodes and 948,464 edges. Exclude the self- loops in the network and conduct following analysis:

• Use the capture-recapture estimation method to compute the number of nodes in the network by randomly choosing 2,000 nodes each time. Repeat the experiment 1000 times and plot the

histogram of the estimated number of nodes in the network (the y-axis is the frequency of

occurrence and the x-axis is the estimated number of nodes).

skip the histogram this time). Plot the estimated number of nodes against the number of sampled nodes. Also plot the mean±std values over 1000 iterations. Compare it against the actual number of nodes in the network and comment on the trend of estimated values with the sample size.