Top Banner
Online Social Media - Developer's Perspective Summer Workshop @ IGDTUW Tech Support by PreCog@IIITD Network Analysis
26

IGDTUW workshop

Apr 16, 2017

Download

Engineering

Precog
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: IGDTUW workshop

Online Social Media - Developer's Perspective

Summer Workshop @ IGDTUW

Tech Support by PreCog@IIITD

Network Analysis

Page 2: IGDTUW workshop

anupama_agg

Page 3: IGDTUW workshop

anupama_agg

Page 4: IGDTUW workshop

PhD Student @ IIITD

Advisor: Dr. PK

Research Area: Computational Social Science

Data Scientist

Interned at UMBC, USA & UFMG, Brazil

DSSG in India

anupama_agg

Page 5: IGDTUW workshop

PhD Student @ IIITD

Advisor: Dr. PK

Research Area: Computational Social Science

Data Scientist

Interned at UMBC, USA & UFMG, Brazil

DSSG in India

anupama_agg

Page 6: IGDTUW workshop

PhD Student @ IIITD

Advisor: Dr. PK

Research Area: Computational Social Science

Data Scientist

Interned at UMBC, USA & UFMG, Brazil

DSSG in India

anupama_agg

Page 7: IGDTUW workshop

PhD Student @ IIITD

Advisor: Dr. PK

Research Area: Computational Social Science

Data Scientist

Interned at UMBC, USA & UFMG, Brazil

DSSG in India

anupama_agg

Page 8: IGDTUW workshop

PhD Student @ IIITD

Advisor: Dr. PK

Research Area: Computational Social Science

Data Scientist

Interned at UMBC, USA & UFMG, Brazil

DSSG in India

anupama_agg

Page 9: IGDTUW workshop

PhD Student @ IIITD

Advisor: Dr. PK

Research Area: Computational Social Science

Data Scientist

Interned at UMBC, USA & UFMG, Brazil

DSSG in India

anupama_agg

Page 10: IGDTUW workshop

2:00 pm

3:00 pm

4:00 pm

4:30 pm

5:00 pm

Social Network Analysis (SNA) •SNA Metrics

•Centrality, Modularity, Communities, Indegree, Outdegree, Homophily…

•Get your own Twitter Data

•Data Analysis - Gephi

Brainstorming Activity

Q&A / Help in Research(!)

Page 11: IGDTUW workshop

Get Your Twitter Data!

•Twecoll : Command Line Twitter Data Collection Tool •Friends (Followees), Friends of Friends

http://bit.ly/IGDTUWAA

> python twecoll init twitter_username > python twecoll fetch twitter_username > python twecoll edgelist twitter_username

> cat anupama_agg.gml | grep -v weight | grep - v rank > anupama_agg_no_rank.gml

Page 12: IGDTUW workshop

What’s a Graph?

Nodes: Entities (like Users) Edges: Kind of Relationships

Page 13: IGDTUW workshop

How would a Computer understand a Graph?

???

Page 14: IGDTUW workshop

How would a Computer understand a Graph?

Adjacency Matrix GraphML CSV

Page 15: IGDTUW workshop

Adjacency Matrix

src: http://www.stoimen.com/blog/2012/08/31/computer-algorithms-graphs-and-their-representation/

Page 16: IGDTUW workshop

GraphML Format

src: http://graphml.graphdrawing.org/primer/graphml-primer.html

Page 17: IGDTUW workshop

SNA Metrics

src: http://www.slideshare.net/ganith2k13/graph-theory-26101317

Page 18: IGDTUW workshop

SNA MetricsCentrality : Finding out which is the most central / important node

src: https://www.cl.cam.ac.uk/teaching/1213/L109/stna-lecture3.pdf

Indegree: Most influential

Outdegree: Who disseminates information

Betweenness: Quickly approachable

Closeness: Who is close to everyone

Page 19: IGDTUW workshop

SNA Metrics

Community : Group of similar people

Modularity : Fraction of the edges that fall within the given group

Communities based on Degree

Page 20: IGDTUW workshop

2:00 pm

3:00 pm

4:00 pm

4:30 pm

5:00 pm

Social Network Analysis (SNA) •SNA Metrics

•Centrality, Modularity, Communities, Indegree, Outdegree, Homophily…

•Get your own Twitter Data

•Data Analysis - Gephi

Brainstorming Activity

Q&A / Help in Research(!)

Page 21: IGDTUW workshop

2:00 pm

3:00 pm

4:00 pm

4:30 pm

5:00 pm

Social Network Analysis (SNA) •SNA Metrics

•Centrality, Modularity, Communities, Indegree, Outdegree, Homophily…

•Get your own Twitter Data

•Data Analysis - Gephi

Brainstorming Activity

Q&A / Help in Research(!)

Page 22: IGDTUW workshop

Find Food Enthusiasts!

Page 23: IGDTUW workshop
Page 24: IGDTUW workshop

Aim / Phenomena to Study:Find Food Enthusiasts

Social Network:Instagram

Kind of Network Data Needed:Users of photos tagged #foodporn Who likes whose photos

What will I get?Users who post best food photos (Indegree Centrality / Ranking) Users who like food (photos) a lot! (Outdegree Centrality / Ranking)

Page 25: IGDTUW workshop

2:00 pm

3:00 pm

4:00 pm

4:30 pm

5:00 pm

Social Network Analysis (SNA) •SNA Metrics

•Centrality, Modularity, Communities, Indegree, Outdegree, Homophily…

•Get your own Twitter Data

•Data Analysis - Gephi

Brainstorming Activity

Q&A / Help in Research(!)

Page 26: IGDTUW workshop

“Who Followed You” TimeStamp Data

https://github.com/rickshawman/twitter

Email generated file to [email protected]