NetworkX Network
⽤用NetworkX找出台灣公司網絡核⼼心
San-Chuan “Leo” Hung
2014/ 05/ 17
Leo Hung
Intern@gogolook
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
假設 X ⼯工具
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.r...
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 ht...
More
• LeoHung.self()
• http://leohung.net
• Code
• https://github.com/LeoHung/
pycon2014_tw_company_core_network
NetworkX Network: 用NetworkX找出台灣公司網絡核心 by Leo Hung  @PyCon TW 2014
Upcoming SlideShare
Loading in …5
×

NetworkX Network: 用NetworkX找出台灣公司網絡核心 by Leo Hung @PyCon TW 2014

1,465 views

Published on

NetworkX Network: 用NetworkX找出台灣公司網絡核心 by Leo Hung @PyCon TW 2014

Published in: Engineering, Technology, Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,465
On SlideShare
0
From Embeds
0
Number of Embeds
530
Actions
Shares
0
Downloads
11
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

NetworkX Network: 用NetworkX找出台灣公司網絡核心 by Leo Hung @PyCon TW 2014

  1. 1. NetworkX Network ⽤用NetworkX找出台灣公司網絡核⼼心 San-Chuan “Leo” Hung 2014/ 05/ 17
  2. 2. Leo Hung Intern@gogolook http://leohung.net ! Web Development Machine Learning Data Analysis
  3. 3. 社會網絡
  4. 4. @ronnywang http://company-graph.g0v.ronny.tw/?id=22555003
  5. 5. 我也可以
  6. 6.
  7. 7. Information Core Network data source: http://company.g0v.ronny.tw
  8. 8. 假設 X ⼯工具
  9. 9. Assumptions of Information Core Network Important Nodes Easy to receive information The nodes are close to others
  10. 10. Closeness
  11. 11. Brief Code • import networkx as nx • from matplotlib import pyplot as plt • G = nx.Graph() • G.add_edge(v1, v2) • G = nx.read_edgelist(filename) • closeness_dict = nx.closeness_centrality(G) • nx.draw_networkx(core_G) • plt.show()
  12. 12. data source: http://company.g0v.ronny.tw
  13. 13. data source: http://company.g0v.ronny.tw
  14. 14. More NetworkX • Pure Python • Network Analysis • Centrality • Visualization • Community Detection • Network Generation
  15. 15. References • NetworkX • http://networkx.github.io/index.html • Dataset • 台灣公司資料 http://company.g0v.ronny.tw • Standford http://snap.stanford.edu/data/
  16. 16. More • LeoHung.self() • http://leohung.net • Code • https://github.com/LeoHung/ pycon2014_tw_company_core_network

×