Central Nodes (Python and Gephi).

Slides:



Advertisements
Similar presentations
Santa Fe Public Schools What is Inform?  Inform is a data warehouse provided by Pearson used to generate reports based upon students’ test scores.
Advertisements

Network Overview Discovery and Exploration for Excel (NodeXl) Hands On Exercise Presented by: Samer Al-khateeb Class: Social Media Mining and Analytics.
COS 461 Fall 1997 Routing COS 461 Fall 1997 Typical Structure.
Pasewark & Pasewark Microsoft Office XP: Introductory Course INTRODUCTORY MICROSOFT POWERPOINT Lesson 1 – PowerPoint Basics.
Corporate Property Automated Information System (CPAIS) Macro Walkthrough Guide for Excel Version 2003.
Network Visualization using Gephi Ted Polley and Dr. Katy Börner Cyberinfrastructure for Network Science Center Information Visualization Laboratory School.
CSE 380 – Computer Game Programming Pathfinding AI
 Copyright 2011 Digital Enterprise Research Institute. All rights reserved. Digital Enterprise Research Institute Enabling Networked Knowledge.
Networks. Graphs (undirected, unweighted) has a set of vertices V has a set of undirected, unweighted edges E graph G = (V, E), where.
Tuesday Session 2 – Intro to ArcMap Starting Arc Map – Empty Map – Map Template – Project Data View – Display – Source – Selection Layout View – Draft.
Force Directed Algorithm Adel Alshayji 4/28/2005.
Force Directed Algorithm Adel Alshayji 4/28/2005.
Kanban Task Manager for SharePoint ‒ Introduction
Easier than Excel: Social Network Analysis of DocGraph with Gephi Janos G. Hajagos Stony Brook School of Medicine Fred Trotter fredtrotter.com.
1 iSee Player Tutorial Using the Forest Biomass Accumulation Model as an Example ( Tutorial Developed by: (
Introduction to Information Retrieval CS 5604: Information Storage and Retrieval ProjCINETViz by Maksudul Alam, S M Arifuzzaman, and Md Hasanuzzaman Bhuiyan.
Tutorial session 1 Network generation Exploring PPI networks using Cytoscape EMBO Practical Course Session 8 Nadezhda Doncheva and Piet Molenaar.
1 Access Lesson 5 Creating and Modifying Reports Microsoft Office 2010 Introductory.
1 Applications of Relative Importance  Why is relative importance interesting? Web Social Networks Citation Graphs Biological Data  Graphs become too.
 Copyright 2011 Digital Enterprise Research Institute. All rights reserved. Digital Enterprise Research Institute Enabling Networked Knowledge.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
IBIS-Q Tutorial: Secure Query Overview To get to the Secured Data Modules from the main IBIS-PH page, select.
Slides are modified from Lada Adamic
Pasewark & Pasewark Microsoft Office Applications: Introductory Course 1 INTRODUCTORY MICROSOFT POWERPOINT Part 1 – PowerPoint Basics.
Build a database VI: Create reports for a new Access database Overview: Help others understand your data Previous courses in this series showed you how.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT POWERPOINT Lesson 1 – PowerPoint Basics.
Printing Reports. Creating Reports  Reports are the best way to put information from database onto paper, PDF files, and other formats.  In a report,
Remember…  Please do not…  Change the background.  Change the icons.  Change the font. Use Times New Roman (size 12 font).  Use color. We cannot print.
CS 590 Term Project Epidemic model on Facebook
Quick Videos: A tutorial on creating reports. Select a report and click this to view it. Select a report and click this to change it. Select a report and.
Informatics tools in network science
Essential components of the implementation are:  Formation of the network and weight initialization routine  Pixel analysis of images for symbol detection.
Importance Measures on Nodes Lecture 2 Srinivasan Parthasarathy 1.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
POWERPOINT : GETTING STARTED WITH POWERPOINT 1.Ribbon: customize ribbon – right click on ribbon and customize ribbon opens 2.Quick access toolbar.
Education And Training CTC IT DIVISION PivotLink User Training April 2010.
Microsoft PowerPoint I. Aniko Balogh, Computer and Statistics Center.
Dynamic Network Analysis Case study of PageRank-based Rewiring Narjès Bellamine-BenSaoud Galen Wilkerson 2 nd Second Annual French Complex Systems Summer.
GUILLOU Frederic. Outline Introduction Motivations The basic recommendation system First phase : semantic similarities Second phase : communities Application.
The Overview Panel on Gephi 0.9.1
PowerPoint Tutorial.
Centralities (Gephi and Python)
Development Environment
Access Lesson 5 Creating and Modifying Reports
Contract Compliance: Reporting
Central nodes (Python and Gephi).
Lecture 11 Graph Algorithms
Routing Through Networks - 1
TScore Trampoline Scoring and Competition Organiser
Kanban Task Manager SharePoint Editions ‒ Introduction
Link-Based Ranking Seminar Social Media Mining University UC3M
Gephi Gephi is a tool for exploring and understanding graphs. Like Photoshop (but for graphs), the user interacts with the representation, manipulate the.
Prepared by Kimberly Sayre and Jinbo Bi
Database Applications – Microsoft Access
IVend Retail 6.5 Dashboard Designer.
Google Scholar, ShareLaTeX, and Gephi
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Apache Spark & Complex Network
Centralities (4) Ralucca Gera,
TScore Gymnastics Scoring System
Gephi.
Google Scholar, OverLeaf, and Gephi
MECH 3550 : Simulation & Visualization
Centralities Using Gephi and Python Prof. Ralucca Gera,
Exploring Microsoft® Office 2016 Series Editor Mary Anne Poatsy
The Overview Panel on Gephi 0.9.1
Microsoft Office Illustrated Fundamentals
Analyzing Massive Graphs - ParT I
cs5984: Information Visualization Chris North
Kanban Task Manager SharePoint Editions ‒ Introduction
Presentation transcript:

Central Nodes (Python and Gephi)

Python code Use Metrics.py from the workshop’s website

NetworkX Reference Github interactive version PDF reference for NetworkX Github interactive version

Finding centralities The part of the code that finds and prints centralities: Output not sorted, rather a list as: Node: centrality_value

Follow along or try it Follow along: http://faculty.nps.edu/rgera/MA4404/PythonCode/MetricsV2.html Or try the code on your computer, the same zip file from the main page, and use MetricsV2-ForPython3.py (for version 3.5) or MetricsV2-ForPython2.py (for version 2.7)

Top centrality nodes Cod: MetricsV2-ForPython2 (or 3) This part of the code arranges and prints the top 10 central nodes (degree centrality) Python 2.7: Python 3.5: The ten was arbitrary, change it here:

Closeness/Eigenvector The closeness centrality is normalized by dividing by (n-1), where n is the number of nodes in the connected part of graph containing the node. If the graph is not completely connected, this algorithm computes the closeness centrality for each connected part separately. The eigenvector calculation is done by the power iteration method and has no guarantee of convergence. The iteration will stop after max_iter iterations or an error tolerance of number_of_nodes(G)*tol has been reached. For directed graphs this is “left” eigevector centrality which corresponds to the in-edges in the graph. For out-edges eigenvector centrality first reverse the graph with G.reverse(). https://networkx.github.io/documentation/networkx-1.9/reference/generated/networkx.algorithms.centrality.eigenvector_centrality.html#networkx.algorithms.centrality.eigenvector_centrality

Visualizing them on the network Code that identifies the top 30%: http://glowingpython.blogspot.com/2013/02/betweenness-centrality.html I have not implemented it, you can try it if you would like.

Gephi Excellence Through Knowledge

Resources for Gephi: Overview and explanations of Gephi Gephi’s overview tutorial An introductory video to create data for Gephi and to use degree, closeness and betweeness (also posted on the website unde today’s lecture). Gephi’s overview of layouts Basic navigation

Layouts Choose the appropriate layout so that visualization is meaningful. Common force directed (repulsion) ones: Force Atalas 2 (It is focused on being useful to explore and get meaning for real data, and a good readability, slow) Yifan Hu (similar to FA2, fast, good for large graphs) Fruchterman-Reingold (The nodes are the mass particles and the edges are springs between the particles. The algorithms try to minimize the energy of this physical system. It has become a standard but remains very slow.) OpenOrd layout (good for communities) Not force directed: Expansion Geographic map with GeoLayout

SAVE Once you have a visualization that you like, save the network, so that the next time you open it looks the same Cannot use undo in Gephi When you run an analysis, save the network again with a different name for future references When you open part of a network on a new tab in Gephi, save that as well.

Preview Tab Click Preview next to the Data Laboratory, you might like that view of the network better: If you export, then this is what you export:

Centrality graph example Open both your network and this graph (you can also find it on the website). Source: Discovering Sets of Key Players in Social Networks – Daniel Ortiz-Arroyo – Springer 2010/

Centralities Click diameter under Statistics module on the right Centralities that are available: Closeness PageRank HITS Betweeness For directed graphs, check:

Ranking nodes by centrality Once you ran a metric, you can size/color the nodes based on your choices you ran. Under on the top left, choose Nodes and either size or color Depending on the version you run, you will see:

Filtering nodes by centralty Find Filters on the top right, next to Statistics Under topology, you can find the centralities Choose one, drag and drop it to the Queries Choose the bounds needed.

Export You can export the visualized graph as SVG or PDF: Go to preview (fix if needed) Resize for large networks Click SVG (SVG is vectorial graphics like PDF so they scale to different sizes nicely)

Other metrics Average path length: under the statics module, right Computes the average of shortest paths between all pairs of nodes Result:

Most of these are not in Gephi/Python/R An interactive periodic table of centralities: http://schochastics.net/sna/periodic.html