SlideShare a Scribd company logo
Computer Network Assignment Help
For any help regarding Computer Network Assignment Help
Visit :- https://www.computernetworkassignmenthelp.com/ ,
Email :- support@computernetworkassignmenthelp.com or
Call us at :- +1 678 648 4277
Computer Network Assignment Help
Problem 2.1
Let the directed graph G be a ring: node i is connected to i + 1 if i < m and m is connected to 1. Compute
both eigenvalue centrality and Katz centrality (with = 1). Comment on your result. Do the same for a k-regular
undirected network (i.e., an undirected network in which every vertex has degree k). You may find the steps
outlined in Newman Problem 7.1 helpful. Comment on your result.
Solution:
(a) Eigenvector Centrality: For an adjacency matrix A, the eigenvector with the highest eigenvalue
represents the eigenvector centrality of each node in A. G is an orthogo-nal matrix with the highest
eigenvalue 1 and corresponding eigenvector
Here we prove that G can not have an
Computer Network Assignment Help
Here we show that 1 is an eigenvalue of A because its an orthogonal matrix with unit vectors
This means that all eigenvalues of G 1. But since G is orthogonal, all of its eigenvalues lie on the complex
plane wit odulus 1 which means
Naturally, all nodes have equal centrality (both eigenvector and katz) due to symmetry.
Computer Network Assignment Help
Setting x1 = ... = xn = x and c = 1 and as the attenuating factor, we can write
Thus, the centralities increase as k increases. All nodes have equal centrality (both eigenvector and katz)
due to symmetry.
Problem 2.2
[Problem 7.2 from Newman] Suppose a directed network takes the form of a tree with all edges pointing
inward towards a central vertex: (see figure in Newman). What is the PageRank centrality of the central
vertex in terms of the single parameter ↵ appearing in the definition of PageRank and the geodesic
distances di from each vertex i to the central vertex?
Computer Network Assignment Help
Solution:
We want to computer the Pagerank centrality of xc of the central vertex and we assume that C = 1. Notice
that 3 nodes have distance 3 from c, 4 nodes have distance 2 from c and 2 nodes have distance 1 from c.
Generalizing from the pattern any node that is distance d from c will have its centrality scaled with ↵ d
number of times, towards the computation of xc.
Therefore,
Computer Network Assignment Help
Problem 2.3
(a) Give an example of such a graph with 5 nodes.
(b) Compute the eigenvalue centrality. Explain your answer.
(c) Compute the Katz centrality with = 1. Explain your answer.
Solution:
(a) Any directed acyclic graph would do. Here is an example given below
Computer Network Assignment Help
(b) Since A is nilpotent, the characteristic polynomial is t n = 0 and all the eigenvalues i are zero. So it does
not make sense to look at the eigenvector centrality, defined as the eigenvector associated with the largest
eigenvalue, max.
(c) The katz centrality is computed iteratively using
. Picking ↵ = 0.3, for instance, and = 1 we get (after 4 iterations)
Computer Network Assignment Help
ckatz = [1 1.3 1.39 1.417 1.4251]
which provides a sensible ranking if we take incoming edges to indicate importance.
Problem 2.4
As flu season is upon us, we wish to have a Markov chain that models the spread of a flu virus. Assume a
population of n individuals. At the beginning of each day, each individual is either infected or susceptible
(capable of contracting the flu). Suppose that each pair (i, j), i 6= j, independently comes into contact with one
another during the daytime with probability p. Whenever an infected individual comes into contact with a
susceptible individual, he/she infects him/her. In addition, assume that overnight, any individual who has been
infected for at least 24 hours will recover with probability 0 <q< 1 and return to being susceptible, independently
of everything else (i.e., assume that a newly infected individual will spend at least one restless night battling the
flu)
(a) Suppose that there are m infected individuals at daybreak. What is the distribution of the number of
new infections by day end?
(b) Draw a Markov chain with as few states as possible to model the spread of the flu for n = 2. In
epidemiology, this is called an SIS (SusceptibleInfected-Susceptible) model.
(c) Identify all recurrent states.
Due to the nature of the flu virus, individuals almost always develop immunity after contracting the virus.
Consequently, we improve our model and assume that individuals become infected at most one time. Thus,
we consider individuals as either infected, susceptible, or recovered.
(d) Draw a Markov chain to model the spread of the flu for n = 2. In epidemiology, this is called an SIR
(Susceptible-Infected-Recovered) model.
(e) Identify all recurrent states.
Solution:
Computer Network Assignment Help
(a) If m out of n individuals are infected, then there must be n m susceptible individuals. Each one of these
individuals will be independently infected over the course of the day with probability p = 1 - (1 - p )m.
Thus the number of new infections, I, will be a binomial random variable with parameters n m and p. That is,
(b) Let the state of the SIS model be the number of infected individuals. For n = 2, the corresponding Markov
chain is illustrated below.
Computer Network Assignment Help
(c) The only recurrent state is the one with 0 infected individuals
(d) Let the state of the SIR model be (S,I), where S is the number of susceptible individuals and I is
the number of infected individuals. For n = 2, the corresponding Markov chain is illustrated below
Computer Network Assignment Help
If one did not wish to keep track of the breakdown of susceptible and recovered individuals when no
one was infected, the three states free of infections could be consolidated into a single state as
illustrated below
(e) Any state where the number of infected individuals equals 0 is a recurrent state. For n = 2,there are
either one or three recurrent states, depending on the Markov chain drawn in part(d).
Computer Network Assignment Help
Problem 2.5
There are n fish in a lake, some of which are green and the rest blue. Each day, Helen catches 1 fish. She is
equally likely to catch any one of the n fish in the lake. She throws back all the fish, but paints each green fish
blue before throwing it back in. Let Gi denote the event that there are i green fish left in the lake.
(a) Show how to model this fishing exercise as a Markov chain, where Gi are the states. Explain why
your model satisfies the Markov property.
(b) Find the transition probabilities pij
(c) List the transient and recurrent states
Solution:
(a) The number of remaining green fish at time n completely determines all the relevant information of the
systems entire history (relevant to predicting the future state). Therefore it is immediate that the number of
green fish is the state of the system and the process has the Markov property:
(b) For j > i clearly pij = 0, since a blue fish will never be painted green. For 0 i, j k, we have the following
Computer Network Assignment Help
(c) The state 0 is an absorbing state since there is a positive probability that the system will enter it, and
once it does, it will remain there forever. Therefore the state with 0 green fish is the only recurrent state,
and all other states are then transient.
Computer Network Assignment Help

More Related Content

PPTX
Advanced Modularity Optimization Assignment Help
PPTX
Computer Network Homework Help
PDF
Modelling the Clustering Coefficient of a Random graph
PDF
Implicit schemes for wave models
PPTX
Pattern Recognition and Machine Learning : Graphical Models
PPTX
probability assignment help (2)
PDF
Linear regression [Theory and Application (In physics point of view) using py...
PDF
On solving coverage problems in a wireless sensor networks using diagrams
Advanced Modularity Optimization Assignment Help
Computer Network Homework Help
Modelling the Clustering Coefficient of a Random graph
Implicit schemes for wave models
Pattern Recognition and Machine Learning : Graphical Models
probability assignment help (2)
Linear regression [Theory and Application (In physics point of view) using py...
On solving coverage problems in a wireless sensor networks using diagrams

Similar to Computer Network Assignment Help (20)

PDF
A robust blind and secure watermarking scheme using positive semi definite ma...
PPT
Markov, Shannon, and Turbo Codes - The Benefits of Hindsight.ppt
PPT
Manifold Blurring Mean Shift algorithms for manifold denoising, presentation,...
PDF
On Continuous Approximate Solution of Ordinary Differential Equations
PDF
Spike sorting: What is it? Why do we need it? Where does it come from? How is...
PDF
Fractals in Small-World Networks With Time Delay
PDF
From RNN to neural networks for cyclic undirected graphs
PPTX
Artificial Neural Network
PDF
Jindřich Libovický - 2017 - Attention Strategies for Multi-Source Sequence-...
PPT
Areejit Samal Preferential Attachment in Catalytic Model
PDF
Approximating manifold orbits by means of Machine Learning Techniques
PDF
Answers withexplanations
PPTX
Network Design Assignment Help
PDF
call for papers, research paper publishing, where to publish research paper, ...
PDF
PixelCNN, Wavenet, Normalizing Flows - Santiago Pascual - UPC Barcelona 2018
PDF
PDF
Nn examples
PDF
Vector-Based Back Propagation Algorithm of.pdf
PDF
CBSE Sample Paper 2015 of Class XII Physics
A robust blind and secure watermarking scheme using positive semi definite ma...
Markov, Shannon, and Turbo Codes - The Benefits of Hindsight.ppt
Manifold Blurring Mean Shift algorithms for manifold denoising, presentation,...
On Continuous Approximate Solution of Ordinary Differential Equations
Spike sorting: What is it? Why do we need it? Where does it come from? How is...
Fractals in Small-World Networks With Time Delay
From RNN to neural networks for cyclic undirected graphs
Artificial Neural Network
Jindřich Libovický - 2017 - Attention Strategies for Multi-Source Sequence-...
Areejit Samal Preferential Attachment in Catalytic Model
Approximating manifold orbits by means of Machine Learning Techniques
Answers withexplanations
Network Design Assignment Help
call for papers, research paper publishing, where to publish research paper, ...
PixelCNN, Wavenet, Normalizing Flows - Santiago Pascual - UPC Barcelona 2018
Nn examples
Vector-Based Back Propagation Algorithm of.pdf
CBSE Sample Paper 2015 of Class XII Physics
Ad

More from Computer Network Assignment Help (20)

PPTX
Online TCP-IP Networking Assignment Help
PPTX
Quantum Computing: Your University Assignment Solution!
PPTX
Elevate Your Networking Game with Expert Computer Network Assignment Help
PPTX
Get 15% off on Computer Network Assignment Help
PPTX
Computer Network Assignment Help
PPTX
Advanced Computer Network Assignment Help
PPTX
Computer Network Assignment Help.pptx
PPTX
Computer Network Homework Help
PPTX
Online Computer Network Security Assignment Help
PPTX
Computer Network Homework Help
PPTX
Computer Network Assignment Help
PPTX
Computer Network Assignment Help
PPTX
Networking Assignment Help
PPTX
Computer Network Assignment Help
PPTX
Computer Network Assignment Help
PPTX
Design & Analysis of Algorithms Assignment Help
PPTX
Computer Network Assignment Help
PPTX
Proficient Computer Network Assignment Help
PPTX
Computer Networking Assignment Help
PPTX
Computer Networking Assignment Help
Online TCP-IP Networking Assignment Help
Quantum Computing: Your University Assignment Solution!
Elevate Your Networking Game with Expert Computer Network Assignment Help
Get 15% off on Computer Network Assignment Help
Computer Network Assignment Help
Advanced Computer Network Assignment Help
Computer Network Assignment Help.pptx
Computer Network Homework Help
Online Computer Network Security Assignment Help
Computer Network Homework Help
Computer Network Assignment Help
Computer Network Assignment Help
Networking Assignment Help
Computer Network Assignment Help
Computer Network Assignment Help
Design & Analysis of Algorithms Assignment Help
Computer Network Assignment Help
Proficient Computer Network Assignment Help
Computer Networking Assignment Help
Computer Networking Assignment Help
Ad

Recently uploaded (20)

PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Classroom Observation Tools for Teachers
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Pre independence Education in Inndia.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
master seminar digital applications in india
PDF
Insiders guide to clinical Medicine.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPH.pptx obstetrics and gynecology in nursing
Classroom Observation Tools for Teachers
Microbial diseases, their pathogenesis and prophylaxis
Anesthesia in Laparoscopic Surgery in India
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Cell Types and Its function , kingdom of life
2.FourierTransform-ShortQuestionswithAnswers.pdf
Microbial disease of the cardiovascular and lymphatic systems
Pre independence Education in Inndia.pdf
GDM (1) (1).pptx small presentation for students
master seminar digital applications in india
Insiders guide to clinical Medicine.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Renaissance Architecture: A Journey from Faith to Humanism

Computer Network Assignment Help

  • 1. Computer Network Assignment Help For any help regarding Computer Network Assignment Help Visit :- https://www.computernetworkassignmenthelp.com/ , Email :- support@computernetworkassignmenthelp.com or Call us at :- +1 678 648 4277 Computer Network Assignment Help
  • 2. Problem 2.1 Let the directed graph G be a ring: node i is connected to i + 1 if i < m and m is connected to 1. Compute both eigenvalue centrality and Katz centrality (with = 1). Comment on your result. Do the same for a k-regular undirected network (i.e., an undirected network in which every vertex has degree k). You may find the steps outlined in Newman Problem 7.1 helpful. Comment on your result. Solution: (a) Eigenvector Centrality: For an adjacency matrix A, the eigenvector with the highest eigenvalue represents the eigenvector centrality of each node in A. G is an orthogo-nal matrix with the highest eigenvalue 1 and corresponding eigenvector Here we prove that G can not have an Computer Network Assignment Help
  • 3. Here we show that 1 is an eigenvalue of A because its an orthogonal matrix with unit vectors This means that all eigenvalues of G 1. But since G is orthogonal, all of its eigenvalues lie on the complex plane wit odulus 1 which means Naturally, all nodes have equal centrality (both eigenvector and katz) due to symmetry. Computer Network Assignment Help
  • 4. Setting x1 = ... = xn = x and c = 1 and as the attenuating factor, we can write Thus, the centralities increase as k increases. All nodes have equal centrality (both eigenvector and katz) due to symmetry. Problem 2.2 [Problem 7.2 from Newman] Suppose a directed network takes the form of a tree with all edges pointing inward towards a central vertex: (see figure in Newman). What is the PageRank centrality of the central vertex in terms of the single parameter ↵ appearing in the definition of PageRank and the geodesic distances di from each vertex i to the central vertex? Computer Network Assignment Help
  • 5. Solution: We want to computer the Pagerank centrality of xc of the central vertex and we assume that C = 1. Notice that 3 nodes have distance 3 from c, 4 nodes have distance 2 from c and 2 nodes have distance 1 from c. Generalizing from the pattern any node that is distance d from c will have its centrality scaled with ↵ d number of times, towards the computation of xc. Therefore, Computer Network Assignment Help
  • 6. Problem 2.3 (a) Give an example of such a graph with 5 nodes. (b) Compute the eigenvalue centrality. Explain your answer. (c) Compute the Katz centrality with = 1. Explain your answer. Solution: (a) Any directed acyclic graph would do. Here is an example given below Computer Network Assignment Help
  • 7. (b) Since A is nilpotent, the characteristic polynomial is t n = 0 and all the eigenvalues i are zero. So it does not make sense to look at the eigenvector centrality, defined as the eigenvector associated with the largest eigenvalue, max. (c) The katz centrality is computed iteratively using . Picking ↵ = 0.3, for instance, and = 1 we get (after 4 iterations) Computer Network Assignment Help
  • 8. ckatz = [1 1.3 1.39 1.417 1.4251] which provides a sensible ranking if we take incoming edges to indicate importance. Problem 2.4 As flu season is upon us, we wish to have a Markov chain that models the spread of a flu virus. Assume a population of n individuals. At the beginning of each day, each individual is either infected or susceptible (capable of contracting the flu). Suppose that each pair (i, j), i 6= j, independently comes into contact with one another during the daytime with probability p. Whenever an infected individual comes into contact with a susceptible individual, he/she infects him/her. In addition, assume that overnight, any individual who has been infected for at least 24 hours will recover with probability 0 <q< 1 and return to being susceptible, independently of everything else (i.e., assume that a newly infected individual will spend at least one restless night battling the flu) (a) Suppose that there are m infected individuals at daybreak. What is the distribution of the number of new infections by day end? (b) Draw a Markov chain with as few states as possible to model the spread of the flu for n = 2. In epidemiology, this is called an SIS (SusceptibleInfected-Susceptible) model. (c) Identify all recurrent states. Due to the nature of the flu virus, individuals almost always develop immunity after contracting the virus. Consequently, we improve our model and assume that individuals become infected at most one time. Thus, we consider individuals as either infected, susceptible, or recovered. (d) Draw a Markov chain to model the spread of the flu for n = 2. In epidemiology, this is called an SIR (Susceptible-Infected-Recovered) model. (e) Identify all recurrent states. Solution: Computer Network Assignment Help
  • 9. (a) If m out of n individuals are infected, then there must be n m susceptible individuals. Each one of these individuals will be independently infected over the course of the day with probability p = 1 - (1 - p )m. Thus the number of new infections, I, will be a binomial random variable with parameters n m and p. That is, (b) Let the state of the SIS model be the number of infected individuals. For n = 2, the corresponding Markov chain is illustrated below. Computer Network Assignment Help
  • 10. (c) The only recurrent state is the one with 0 infected individuals (d) Let the state of the SIR model be (S,I), where S is the number of susceptible individuals and I is the number of infected individuals. For n = 2, the corresponding Markov chain is illustrated below Computer Network Assignment Help
  • 11. If one did not wish to keep track of the breakdown of susceptible and recovered individuals when no one was infected, the three states free of infections could be consolidated into a single state as illustrated below (e) Any state where the number of infected individuals equals 0 is a recurrent state. For n = 2,there are either one or three recurrent states, depending on the Markov chain drawn in part(d). Computer Network Assignment Help
  • 12. Problem 2.5 There are n fish in a lake, some of which are green and the rest blue. Each day, Helen catches 1 fish. She is equally likely to catch any one of the n fish in the lake. She throws back all the fish, but paints each green fish blue before throwing it back in. Let Gi denote the event that there are i green fish left in the lake. (a) Show how to model this fishing exercise as a Markov chain, where Gi are the states. Explain why your model satisfies the Markov property. (b) Find the transition probabilities pij (c) List the transient and recurrent states Solution: (a) The number of remaining green fish at time n completely determines all the relevant information of the systems entire history (relevant to predicting the future state). Therefore it is immediate that the number of green fish is the state of the system and the process has the Markov property: (b) For j > i clearly pij = 0, since a blue fish will never be painted green. For 0 i, j k, we have the following Computer Network Assignment Help
  • 13. (c) The state 0 is an absorbing state since there is a positive probability that the system will enter it, and once it does, it will remain there forever. Therefore the state with 0 green fish is the only recurrent state, and all other states are then transient. Computer Network Assignment Help