Definitionen & kurzer Recap

Fortgeschrittene Netzwerkanalyse in Python

Eric Ma

Data Carpentry instructor and author of nxviz package

Netzwerk/Graph

  • Netzwerk = Graph = (Knoten, Kanten)
  • Gerichtet oder ungerichtet
    • Facebook: Ungerichtet
    • Twitter: Gerichtet
  • networkx: API zur Graphanalyse

ch1-1.004.png

Fortgeschrittene Netzwerkanalyse in Python

Basis-NetworkX-API

import networkx as nx

G
<networkx.classes.graph.Graph at 0x10b192da0>
list(G.nodes())
['customer1', 'customer3', 'customer2']
Fortgeschrittene Netzwerkanalyse in Python

Basis-NetworkX-API

len(G.nodes())
3
len(G.edges())
2
type(G)
networkx.classes.graph.Graph
Fortgeschrittene Netzwerkanalyse in Python

Netzwerkvisualisierung

  • nxviz: API für schöne, rationale Graph-Visualisierungen

  • Position von Knoten priorisieren

ch1-1.019.png

Fortgeschrittene Netzwerkanalyse in Python

Netzwerkvisualisierung

  • nxviz: API für schöne, rationale Graph-Visualisierungen

  • Position von Knoten priorisieren

ch1-1.020.png

Fortgeschrittene Netzwerkanalyse in Python

Netzwerkvisualisierung

  • nxviz: API für schöne, rationale Graph-Visualisierungen

  • Position von Knoten priorisieren

ch1-1.021.png

Fortgeschrittene Netzwerkanalyse in Python

Netzwerkvisualisierung

  • nxviz: API für schöne, rationale Graph-Visualisierungen

  • Position von Knoten priorisieren

ch1-1.022.png

Fortgeschrittene Netzwerkanalyse in Python

Basis-nxviz-API

import nxviz as nv
import matplotlib.pyplot as plt

c = nv.circos(G)
plt.show()

ch1-1.028.png

Fortgeschrittene Netzwerkanalyse in Python

Lass uns üben!

Fortgeschrittene Netzwerkanalyse in Python

Preparing Video For Download...