परिभाषाएँ और त्वरित पुनरावलोकन

इंटरमीडिएट Network Analysis in Python

Eric Ma

Data Carpentry instructor and author of nxviz package

नेटवर्क/ग्राफ़

  • Network = ग्राफ़ = (nodes, edges)
  • Directed या Undirected
    • Facebook: Undirected
    • Twitter: Directed
  • networkx: ग्राफ़ विश्लेषण के लिए API

ch1-1.004.png

इंटरमीडिएट Network Analysis in Python

बेसिक NetworkX API

import networkx as nx

G
<networkx.classes.graph.Graph at 0x10b192da0>
list(G.nodes())
['customer1', 'customer3', 'customer2']
इंटरमीडिएट Network Analysis in Python

बेसिक NetworkX API

len(G.nodes())
3
len(G.edges())
2
type(G)
networkx.classes.graph.Graph
इंटरमीडिएट Network Analysis in Python

नेटवर्क विज़ुअलाइज़ेशन

  • nxviz: सुंदर और तार्किक ग्राफ़ विज़ बनाने की API

  • nodes की प्लेसमेंट को प्राथमिकता दें

ch1-1.019.png

इंटरमीडिएट Network Analysis in Python

नेटवर्क विज़ुअलाइज़ेशन

  • nxviz: सुंदर और तार्किक ग्राफ़ विज़ बनाने की API

  • nodes की प्लेसमेंट को प्राथमिकता दें

ch1-1.020.png

इंटरमीडिएट Network Analysis in Python

नेटवर्क विज़ुअलाइज़ेशन

  • nxviz: सुंदर और तार्किक ग्राफ़ विज़ बनाने की API

  • nodes की प्लेसमेंट को प्राथमिकता दें

ch1-1.021.png

इंटरमीडिएट Network Analysis in Python

नेटवर्क विज़ुअलाइज़ेशन

  • nxviz: सुंदर और तार्किक ग्राफ़ विज़ बनाने की API

  • nodes की प्लेसमेंट को प्राथमिकता दें

ch1-1.022.png

इंटरमीडिएट Network Analysis in Python

बेसिक nxviz API

import nxviz as nv
import matplotlib.pyplot as plt

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

ch1-1.028.png

इंटरमीडिएट Network Analysis in Python

अभ्यास करते हैं!

इंटरमीडिएट Network Analysis in Python

Preparing Video For Download...