NetworkX Network: 用NetworkX找出台灣公司網絡核心 by Leo Hung @PyCon TW 2014
of 17
/17
-
Author
sanchan-hong -
Category
Engineering
-
view
343 -
download
4
Embed Size (px)
description
NetworkX Network: 用NetworkX找出台灣公司網絡核心 by Leo Hung @PyCon TW 2014
Transcript of NetworkX Network: 用NetworkX找出台灣公司網絡核心 by Leo Hung @PyCon TW 2014
- NetworkX Network NetworkX San-Chuan Leo Hung 2014/ 05/ 17
- Leo Hung [email protected] http://leohung.net ! Web Development Machine Learning Data Analysis
- @ronnywang http://company-graph.g0v.ronny.tw/?id=22555003
- Information Core Network data source: http://company.g0v.ronny.tw
- Assumptions of Information Core Network Important Nodes Easy to receive information The nodes are close to others
- Closeness
- Brief Code import networkx as nx from matplotlib import pyplot as plt G = nx.Graph() G.add_edge(v1, v2) G = nx.read_edgelist(lename) closeness_dict = nx.closeness_centrality(G) nx.draw_networkx(core_G) plt.show()
- data source: http://company.g0v.ronny.tw
- data source: http://company.g0v.ronny.tw
- More NetworkX Pure Python Network Analysis Centrality Visualization Community Detection Network Generation
- References NetworkX http://networkx.github.io/index.html Dataset http://company.g0v.ronny.tw Standford http://snap.stanford.edu/data/
- More LeoHung.self() http://leohung.net Code https://github.com/LeoHung/ pycon2014_tw_company_core_network