Basics
Components
- Components: nodes & vertices N or V
- Interactions: links & edges L or E
- System: Network, Graph G=(N,L) or (V,E)
netowkrs or graphs?
- network: real systems (e.g. www, they rule)
- graph: matehmatical representation of a network (e.g. web graph, social graph)
- two are usually interchangable
insight를 찾아낼 만한 network를 구성해라
Degree, Average Degree & Degree Distribution
Node Degree
- num of links connected to the node

→kB=4
- if directed graph, can be divided into in-degree & out-degree

→kCin=2
- Source: kin=0
- Sink: kout=0
Average Degree
- undirected graph: <k>=N1∑i=1N, therefore <k>=N2L
- directed graph: <kin>=N1∑i=1Nkiin,<kout>=N1∑i=1Nkiout,<kin>=<kout>, therefore <k>=NL
Degree Distribution
- P(k): probability that a randomly chosen node has degree k
- degree가 높은 node는 hubs라고 함
- discrete, continuous 있긴 하지만 ∑p(k)=1
Graphs
Adjacency Matrix
- 0's in adjacency matrix indicates sparsity & density
Complete Graph
- max num of links a network of N nodes Lmax=2N(N−1) & average degree <k>=N−1
- 보통의 그래프는 위와 같지 않지만, 어쨌건 O(∣V∣)=O(∣N∣)
other graphs
- weighted graph: Aij=wij
- bipartite graph: nodes can be divided into two disjoint sets U,V s.t. every link connects a node in U to one in V

Clustering Coefficient
- local clustering coefficient: what fraction of your neighbors are connected? = Node i with degree ki
- global clustering coefficient: # of closed triplets divided by # of all triplets (open and closed)