Social Network Analytics Session2
Social Network Analytics Session2
4
2
1
3
Create Network3 in Jupyter and find In & Out Degree for all nodes
Problem Statement 2
Q1. The network drawn in Problem Statement 1 is directed or
undirected network ?
Q2. Create the network drawn in “Problem Statement 2” in Jupyter.
Microscopic
Mesoscopic
Macroscopic
Mesoscopic
• Connected components
• Giant components
• Group centralities
Macroscopic
• Degree Distribution
• Path and Diameter
• Edge density
• Global clustering coefficient
• Reciprocity and Assortativity
4 1 2 2,5
2 3 1,3,5
2 3 2 2,4
3
4 3 3,5,6
5 3 1,2,4
6 1 4
A
B G
C
F
E
D
H
I
J
29-09-2021 Presented by Dr. Purva Grover 10
Social Network Analytics – Session 1
A 1 B
A
B 2 A, C
B G C 3 B, E, F
D 1 E
C
E 5 C, D, I, J, H
F
F 2 C, G
E G 1 F
D H 1 E
H I 2 E, J
I J 2 I, E
J
29-09-2021 Presented by Dr. Purva Grover 11
Social Network Analytics – Session 1
Create Network1 in Jupyter and find the Degree for all nodes
1 4
2
6
3
A
B G
C
F
E
D
H
I
J
29-09-2021 Presented by Dr. Purva Grover 14
Social Network Analytics – Session 1
4
2
1
3
F
H
D
G E
B
C
29-09-2021 Presented by Dr. Purva Grover 18
Social Network Analytics – Session 1
E B
A
G
C
29-09-2021 Presented by Dr. Purva Grover 19
Social Network Analytics – Session 1
Create Network3 in Jupyter and find In & Out Degree for all nodes
Create Network4 in Jupyter and find In & Out Degree for all nodes
F
H
D
G E
B
C
29-09-2021 Presented by Dr. Purva Grover 23
Social Network Analytics – Session 1
Problem Statement – 1A
ABC Company, Transportation and logistics services across the world using flight services
only for sending their shipments. Everyday manager at “ABC Company” download the
CSV containing the flight information from source to destination from 3rd party vendor.
On the basis of the dataset provided and using network analytics answer the following
questions:
Q1. Draw the network.
Q2. Which airport is having most of the traffic?
Q3. Which airport is having the minimum traffic?
Q4. As a manager, please suggest the airports at which you would like to buy warehouse
space for keeping your shipments? Assume if your organization is not buying the space
then you have to take the space on the rent, approx. Buying Warehouse = 15*Rent
[Hint: Read data using pandas and create network using from_pandas_edgelist function]
Problem Statement – 1B
ABC Company, Transportation and logistics services across the world using flight services
only for sending their shipments. Everyday manager at “ABC Company” download the
CSV containing the flight information from source to destination from 3rd party vendor.
On the basis of the dataset provided and using network analytics answer the following
questions:
Q5. List all nodes which can be visited in single step from node 'EWR'.
Q6. List all nodes which can be visited in single step from node 'IAD'.
Q7. List all places from where we can get the flight for 'DCA'.
Q8. List all places from where we can get the flight for 'JFK’
Q9. The company can buy only one warehouse. According to you where should company
buy the warehouse ?
Problem Statement - 2
Assume you are manager at “Uber Eats”. Uber Eats is an online food ordering and
delivery platform launched by Uber in 2014. Users can read menus, reviews and ratings,
order, and pay for food from participating restaurants using an application on the iOS or
Android platforms, or through a web browser. Users are also able to tip for delivery.
3rd party vendor provides you the CSV which is containing the connections among your
potential customers. On the basis of the dataset provided and using network analytics
answer the following questions:
Q1. Draw the network.
Q2. To increase your sales, there is a need to increase the reputation of “Uber Eats”
among potential customer. Therefore, according to you who will be your target customer
to whom you will give the following coupons:
a. 100% of on first bill
b. 70% of on first bill
c. 40% of on first bill
29-09-2021 Presented by Dr. Purva Grover 31
Social Network Analytics – Session 1