SlideShare a Scribd company logo
1 of 18
Download to read offline
Visualizing Scale Free Network
with the help of BA and FR
algorithm
By,
Harshit Srivastava
D03942013
Start
• As in the question number of nodes and the mean average distribution is
been defined as 500 and 2.75 respectively.
• Therefore, we can calculate number of edges in an undirected graph which
leads to 500*2.75/2=688.
• Now after knowing nodes and edges we can preferentially draw a BA
model which can be indirectly said as no growth model as edges are
already been defined.
• As we know BA model shows, network grows with new nodes that enter
the network subsequently.
• With a condition that nodes that have more links will be preferred every
time while network grows.
Algorithm Steps
• Start with a limited number of initial
nodes
• At each step, add a new node that has
m edges that link to m existing nodes
in the system
• When choosing the nodes to which to
attach, assume a probability P for a
node i proportional to the number ki
of links already attached to it
• After t steps, the network will have
n=t+m0 nodes and M=mt edges
0m
0mm 


j
j
i
i
k
k
kP )(
mtM
mtn

 0
Distribution Algorithm
• Then for finding distribution just,
• Initially find how many connection each node has.
• Initialize variable that will hold how many nodes have each degree.
• This variable will be used to create a list of possible degrees a node
can have
• Dismantle the degrees with no connectivity
• Find the last non zero element.
• Plot these variables in respect of connectivity.
Circular Layout (o/p) of 500 nodes and 688
edges
Degree
Freq.
Circular layout in which darker colour represent more
no. of degree and lightest represent least degree
The degree of distribution will be as given 2.75
Reinhold Algorithm View
• This is forced based algorithm,
based for graph layout.
• Force based means it treats each
vertex and edge as if it were a
physical object whose position is
influenced by force.
• For example: in this algorithm
each vertex can act as electron
and each edge as a spring- the
electrons all repel each other,
while spring pull together.
FR layout in which darker colour represent more no.
of degree and lightest represent least degree
Algorithm Steps
• Define the width and length of the layout which is to be used.
• Draw a graph G(V,E) randomly, and repeat it M times.
• Then calculate repulsive forces on each vertex/electron,
• Move the vertex will be having two information: position and displacement.
• i.e., calculation for the difference vector between the positions of the two
vertices
• Now, calculate attractive forces,
• On edges/springs
• Have the same property as vector and difference in positon can be calculated.
• Basically this algorithm works as, on atomic particles exerting forces
from one another, where attractive and repulsive forces are defined
as 𝑓𝑎 𝑑 =
𝑑2
𝑘
and 𝑓𝑟 𝑑 = −
𝑘2
𝑑
, 𝑤ℎ𝑒𝑟𝑒 d is defined as length
of vertex or distance between two vertices and k is derived as optimal
distance between vertices and written as,
• k= 𝑎𝑟𝑒𝑎/𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑣𝑒𝑟𝑡𝑖𝑐𝑒𝑠
• This algorithm is basically included in many packages and tools to
visualize network model.(igraph, Tulip, Graphviz, Gephi)
• If we look into this model we will observe the average(shortest) path
is around 5.27 and highest degree of node is 14.
• The number of shortest paths are 187062
• This shortest path is calculated by 𝑙 =
𝑙𝑜𝑔𝑁
𝑙𝑜𝑔𝑙𝑜𝑔𝑘
, where k is degree of node
Now to filter Giant Component
• We will initially find the number of giant components and will then filter
them out.
• To find them we will initially find the probability of an edge between two
attracted connections.
• Find the number of nodes compose a giant connection which came around
69 nodes and 5 edges.
• Basically we had 500 nodes and 688 edges initially after filtering giant
components the node was left with 431(86.2% visible) nodes with 684(
99% visible) edges.
• Which lead to increase the average degree of distribution to 3.19, with the
change in average path 187056 and diameter same as 13.
After removing Giant Components
Degree
Freq.FR layout in which darker colour represent highest
degree and lightest represent least degree
After filtering Giant component the degree of
distribution increased to 3.19
Average Degree of Distribution
• In analysing this network we have a
node of highest degree 14(pink
colour) and lowest as usual is 1
(yellow).
• So, according to question if we
remove the highest degree node
Final Network View after Removing Highest
Degree
• There would not much change in
nodes as only 3 were removed but
will observe the edges will
decrease to 673.
• We will observe there would be
not so much change in the network
as average degree is around 3.14.
• But there would be no change in
the diameter of the network.
• Average path length increased to
5.37 with decrease in number of
shortest path to 184470 FR layout in which darker colour represent highest
degree and lightest represent least degree
Degree
Freq.
Conclusion
• In this model we have observed that the structure has a phenomena
of attractiveness in which rich get richer or the winner takes it all.
• In extreme case it can be said as monopolistic network.
• In this network if we compare and say that it is contagious network
as many hubs will pass massively to connected multiple nodes.
• We can say this scale free network remains nearly same as new nodes
are added or removed.
References
• Barabási, Albert-László and Réka Albert, "Emergence of scaling in
random networks", Science, 286:509-512, October 15, 1999
• Fruchterman, T. M. J., & Reingold, E. M. (1991). Graph Drawing by
Force-Directed Placement. Software: Practice and Experience, 21(11)
• Tools used iGraph, Gephi and Matlab.
Thank you
Algorithm
If we have number of nodes and initial number of nodes 𝑚0, where minimum degree 1 ≤ 𝑑 ≤ 𝑚0,
therefore to get scale free multigraph 𝑖. 𝑒. , 𝐺(0….N-1, E),
1. Make a clique for m random element of graph.
2. Add this element to a processed list L.
3. Take one node, j at random from the graph G. Set 𝑃 = (𝑘(𝑗)/𝑆𝑈𝑀(𝑘_𝑡 𝑎
))
4. Pick a real number R uniformly at random between 0 and 1.
5. If P>R then add j to i’s adjacency list.
6. Repeat steps 4 and 6 until I has m nodes in its adjacency list.
7. Add i to the adjacency list of each node in its adjacency list.
8. Add i to the graph.
9. Repeat steps 3-9 until there are N nodes in the graph.
*Where K(j) is the degree of the node j in the graph G and k_t is twice the number of edges ( the
total number of degrees) in the graph.

More Related Content

What's hot

Anomaly detection with machine learning at scale
Anomaly detection with machine learning at scaleAnomaly detection with machine learning at scale
Anomaly detection with machine learning at scaleImpetus Technologies
 
Logistic Regression | Logistic Regression In Python | Machine Learning Algori...
Logistic Regression | Logistic Regression In Python | Machine Learning Algori...Logistic Regression | Logistic Regression In Python | Machine Learning Algori...
Logistic Regression | Logistic Regression In Python | Machine Learning Algori...Simplilearn
 
Data Mining: Concepts and Techniques (3rd ed.) — Chapter 5
Data Mining:  Concepts and Techniques (3rd ed.)— Chapter 5 Data Mining:  Concepts and Techniques (3rd ed.)— Chapter 5
Data Mining: Concepts and Techniques (3rd ed.) — Chapter 5 Salah Amean
 
Boolean,vector space retrieval Models
Boolean,vector space retrieval Models Boolean,vector space retrieval Models
Boolean,vector space retrieval Models Primya Tamil
 
Classification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsClassification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsMd. Main Uddin Rony
 
MACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMMACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMPuneet Kulyana
 
Data preprocessing in Machine learning
Data preprocessing in Machine learning Data preprocessing in Machine learning
Data preprocessing in Machine learning pyingkodi maran
 
Hierarchical clustering.pptx
Hierarchical clustering.pptxHierarchical clustering.pptx
Hierarchical clustering.pptxNTUConcepts1
 
Dimensionality Reduction
Dimensionality ReductionDimensionality Reduction
Dimensionality Reductionmrizwan969
 
R Tutorial For Beginners | R Programming Tutorial l R Language For Beginners ...
R Tutorial For Beginners | R Programming Tutorial l R Language For Beginners ...R Tutorial For Beginners | R Programming Tutorial l R Language For Beginners ...
R Tutorial For Beginners | R Programming Tutorial l R Language For Beginners ...Edureka!
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessingksamyMCA
 
Introduction to Sharding
Introduction to ShardingIntroduction to Sharding
Introduction to ShardingMongoDB
 
Scikit Learn Tutorial | Machine Learning with Python | Python for Data Scienc...
Scikit Learn Tutorial | Machine Learning with Python | Python for Data Scienc...Scikit Learn Tutorial | Machine Learning with Python | Python for Data Scienc...
Scikit Learn Tutorial | Machine Learning with Python | Python for Data Scienc...Edureka!
 
Testing Hadoop jobs with MRUnit
Testing Hadoop jobs with MRUnitTesting Hadoop jobs with MRUnit
Testing Hadoop jobs with MRUnitEric Wendelin
 

What's hot (20)

Anomaly detection with machine learning at scale
Anomaly detection with machine learning at scaleAnomaly detection with machine learning at scale
Anomaly detection with machine learning at scale
 
Map Reduce
Map ReduceMap Reduce
Map Reduce
 
Logistic Regression | Logistic Regression In Python | Machine Learning Algori...
Logistic Regression | Logistic Regression In Python | Machine Learning Algori...Logistic Regression | Logistic Regression In Python | Machine Learning Algori...
Logistic Regression | Logistic Regression In Python | Machine Learning Algori...
 
Data Mining: Concepts and Techniques (3rd ed.) — Chapter 5
Data Mining:  Concepts and Techniques (3rd ed.)— Chapter 5 Data Mining:  Concepts and Techniques (3rd ed.)— Chapter 5
Data Mining: Concepts and Techniques (3rd ed.) — Chapter 5
 
Map reduce prashant
Map reduce prashantMap reduce prashant
Map reduce prashant
 
Skip gram and cbow
Skip gram and cbowSkip gram and cbow
Skip gram and cbow
 
Boolean,vector space retrieval Models
Boolean,vector space retrieval Models Boolean,vector space retrieval Models
Boolean,vector space retrieval Models
 
K Nearest Neighbors
K Nearest NeighborsK Nearest Neighbors
K Nearest Neighbors
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Classification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsClassification Based Machine Learning Algorithms
Classification Based Machine Learning Algorithms
 
MACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMMACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHM
 
Data preprocessing in Machine learning
Data preprocessing in Machine learning Data preprocessing in Machine learning
Data preprocessing in Machine learning
 
Hierarchical clustering.pptx
Hierarchical clustering.pptxHierarchical clustering.pptx
Hierarchical clustering.pptx
 
Dimensionality Reduction
Dimensionality ReductionDimensionality Reduction
Dimensionality Reduction
 
R Tutorial For Beginners | R Programming Tutorial l R Language For Beginners ...
R Tutorial For Beginners | R Programming Tutorial l R Language For Beginners ...R Tutorial For Beginners | R Programming Tutorial l R Language For Beginners ...
R Tutorial For Beginners | R Programming Tutorial l R Language For Beginners ...
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Introduction to Sharding
Introduction to ShardingIntroduction to Sharding
Introduction to Sharding
 
Scikit Learn Tutorial | Machine Learning with Python | Python for Data Scienc...
Scikit Learn Tutorial | Machine Learning with Python | Python for Data Scienc...Scikit Learn Tutorial | Machine Learning with Python | Python for Data Scienc...
Scikit Learn Tutorial | Machine Learning with Python | Python for Data Scienc...
 
Testing Hadoop jobs with MRUnit
Testing Hadoop jobs with MRUnitTesting Hadoop jobs with MRUnit
Testing Hadoop jobs with MRUnit
 
KNN
KNNKNN
KNN
 

Viewers also liked

Simulation of Scale-Free Networks
Simulation of Scale-Free NetworksSimulation of Scale-Free Networks
Simulation of Scale-Free NetworksGabriele D'Angelo
 
Scale-Free Networks to Search in Unstructured Peer-To-Peer Networks
Scale-Free Networks to Search in Unstructured Peer-To-Peer NetworksScale-Free Networks to Search in Unstructured Peer-To-Peer Networks
Scale-Free Networks to Search in Unstructured Peer-To-Peer NetworksIOSR Journals
 
Scaling the API Economy - with Scale-Free Networks API Days Keynote from Laye...
Scaling the API Economy - with Scale-Free Networks API Days Keynote from Laye...Scaling the API Economy - with Scale-Free Networks API Days Keynote from Laye...
Scaling the API Economy - with Scale-Free Networks API Days Keynote from Laye...CA API Management
 
Optimism, Possibility & Probability
Optimism, Possibility & ProbabilityOptimism, Possibility & Probability
Optimism, Possibility & ProbabilityBill Asbi
 
The law of requisite variety dilts
The law of requisite variety diltsThe law of requisite variety dilts
The law of requisite variety diltsJohn Gilmer
 
Soft systems methogology
Soft systems methogologySoft systems methogology
Soft systems methogologyClaudia Ribeiro
 
Analyst Helper. Training, Investigation and Analysis based on structured thin...
Analyst Helper. Training, Investigation and Analysis based on structured thin...Analyst Helper. Training, Investigation and Analysis based on structured thin...
Analyst Helper. Training, Investigation and Analysis based on structured thin...JMJDESIGNER "The Druid"
 
Outcomes Over Process : Mike Atherton : Collaborate Bristol
Outcomes Over Process : Mike Atherton : Collaborate BristolOutcomes Over Process : Mike Atherton : Collaborate Bristol
Outcomes Over Process : Mike Atherton : Collaborate BristolNomensa
 
Introduction to soft systems methodology workshop
Introduction to soft systems methodology workshopIntroduction to soft systems methodology workshop
Introduction to soft systems methodology workshopMuseumID
 
Structured UX Thinking : Jon Fisher
Structured UX Thinking : Jon FisherStructured UX Thinking : Jon Fisher
Structured UX Thinking : Jon FisherNomensa
 
Einstein's theory of general relativity
Einstein's theory of general relativityEinstein's theory of general relativity
Einstein's theory of general relativitySmithDaisy
 
Alternative Methodologies for Systems Development
Alternative Methodologies for Systems Development Alternative Methodologies for Systems Development
Alternative Methodologies for Systems Development Sunderland City Council
 
Introduction to the General Theory of Relativity
Introduction to the General Theory of RelativityIntroduction to the General Theory of Relativity
Introduction to the General Theory of RelativityArpan Saha
 
開發人員不可不知的 Windows Container 容器技術預覽
開發人員不可不知的 Windows Container 容器技術預覽開發人員不可不知的 Windows Container 容器技術預覽
開發人員不可不知的 Windows Container 容器技術預覽Will Huang
 
The Rich Picture A Tool For Reasoning About Work Context
The Rich Picture   A Tool For Reasoning About Work ContextThe Rich Picture   A Tool For Reasoning About Work Context
The Rich Picture A Tool For Reasoning About Work Contextguestc990b6
 

Viewers also liked (20)

Simulation of Scale-Free Networks
Simulation of Scale-Free NetworksSimulation of Scale-Free Networks
Simulation of Scale-Free Networks
 
Scale-Free Networks to Search in Unstructured Peer-To-Peer Networks
Scale-Free Networks to Search in Unstructured Peer-To-Peer NetworksScale-Free Networks to Search in Unstructured Peer-To-Peer Networks
Scale-Free Networks to Search in Unstructured Peer-To-Peer Networks
 
Scaling the API Economy - with Scale-Free Networks API Days Keynote from Laye...
Scaling the API Economy - with Scale-Free Networks API Days Keynote from Laye...Scaling the API Economy - with Scale-Free Networks API Days Keynote from Laye...
Scaling the API Economy - with Scale-Free Networks API Days Keynote from Laye...
 
Network theory
Network theoryNetwork theory
Network theory
 
Optimism, Possibility & Probability
Optimism, Possibility & ProbabilityOptimism, Possibility & Probability
Optimism, Possibility & Probability
 
An Introduction to Networks
An Introduction to NetworksAn Introduction to Networks
An Introduction to Networks
 
The law of requisite variety dilts
The law of requisite variety diltsThe law of requisite variety dilts
The law of requisite variety dilts
 
Soft systems methogology
Soft systems methogologySoft systems methogology
Soft systems methogology
 
Analyst Helper. Training, Investigation and Analysis based on structured thin...
Analyst Helper. Training, Investigation and Analysis based on structured thin...Analyst Helper. Training, Investigation and Analysis based on structured thin...
Analyst Helper. Training, Investigation and Analysis based on structured thin...
 
A.2 se and sd
A.2 se  and sdA.2 se  and sd
A.2 se and sd
 
Outcomes Over Process : Mike Atherton : Collaborate Bristol
Outcomes Over Process : Mike Atherton : Collaborate BristolOutcomes Over Process : Mike Atherton : Collaborate Bristol
Outcomes Over Process : Mike Atherton : Collaborate Bristol
 
Introduction to soft systems methodology workshop
Introduction to soft systems methodology workshopIntroduction to soft systems methodology workshop
Introduction to soft systems methodology workshop
 
Structured UX Thinking : Jon Fisher
Structured UX Thinking : Jon FisherStructured UX Thinking : Jon Fisher
Structured UX Thinking : Jon Fisher
 
Einstein's theory of general relativity
Einstein's theory of general relativityEinstein's theory of general relativity
Einstein's theory of general relativity
 
Alternative Methodologies for Systems Development
Alternative Methodologies for Systems Development Alternative Methodologies for Systems Development
Alternative Methodologies for Systems Development
 
Introduction to the General Theory of Relativity
Introduction to the General Theory of RelativityIntroduction to the General Theory of Relativity
Introduction to the General Theory of Relativity
 
Soft Systems Methodology
Soft Systems MethodologySoft Systems Methodology
Soft Systems Methodology
 
開發人員不可不知的 Windows Container 容器技術預覽
開發人員不可不知的 Windows Container 容器技術預覽開發人員不可不知的 Windows Container 容器技術預覽
開發人員不可不知的 Windows Container 容器技術預覽
 
The Rich Picture A Tool For Reasoning About Work Context
The Rich Picture   A Tool For Reasoning About Work ContextThe Rich Picture   A Tool For Reasoning About Work Context
The Rich Picture A Tool For Reasoning About Work Context
 
Lecture on Statistics 1
Lecture on Statistics 1Lecture on Statistics 1
Lecture on Statistics 1
 

Similar to Scale free network Visualiuzation

Mathematics Research Paper - Mathematics of Computer Networking - Final Draft
Mathematics Research Paper - Mathematics of Computer Networking - Final DraftMathematics Research Paper - Mathematics of Computer Networking - Final Draft
Mathematics Research Paper - Mathematics of Computer Networking - Final DraftAlexanderCominsky
 
PR-155: Exploring Randomly Wired Neural Networks for Image Recognition
PR-155: Exploring Randomly Wired Neural Networks for Image RecognitionPR-155: Exploring Randomly Wired Neural Networks for Image Recognition
PR-155: Exploring Randomly Wired Neural Networks for Image RecognitionJinwon Lee
 
Sess07 Clustering02_KohonenNet.pptx
Sess07 Clustering02_KohonenNet.pptxSess07 Clustering02_KohonenNet.pptx
Sess07 Clustering02_KohonenNet.pptxSarthakKabi2
 
Convolutional neural networks
Convolutional neural networksConvolutional neural networks
Convolutional neural networksMohammad Imran
 
CSA 3702 machine learning module 3
CSA 3702 machine learning module 3CSA 3702 machine learning module 3
CSA 3702 machine learning module 3Nandhini S
 
Artificial neural networks
Artificial neural networksArtificial neural networks
Artificial neural networksarjitkantgupta
 
NS-CUK Seminar: H.E.Lee, Review on "Structural Deep Embedding for Hyper-Netw...
NS-CUK Seminar: H.E.Lee,  Review on "Structural Deep Embedding for Hyper-Netw...NS-CUK Seminar: H.E.Lee,  Review on "Structural Deep Embedding for Hyper-Netw...
NS-CUK Seminar: H.E.Lee, Review on "Structural Deep Embedding for Hyper-Netw...ssuser4b1f48
 
Magnetic field of a straight wire official.nb
Magnetic field of a straight wire official.nbMagnetic field of a straight wire official.nb
Magnetic field of a straight wire official.nbChristopher Ubing
 
Random graph models
Random graph modelsRandom graph models
Random graph modelsnetworksuw
 
201907 AutoML and Neural Architecture Search
201907 AutoML and Neural Architecture Search201907 AutoML and Neural Architecture Search
201907 AutoML and Neural Architecture SearchDaeJin Kim
 
A Virtual Infrastructure for Mitigating Typical Challenges in Sensor Networks
A Virtual Infrastructure for Mitigating Typical Challenges in Sensor NetworksA Virtual Infrastructure for Mitigating Typical Challenges in Sensor Networks
A Virtual Infrastructure for Mitigating Typical Challenges in Sensor NetworksMichele Weigle
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural networkIshaneeSharma
 
Energy Efficient Power Failure Diagonisis For Wireless Network Using Random G...
Energy Efficient Power Failure Diagonisis For Wireless Network Using Random G...Energy Efficient Power Failure Diagonisis For Wireless Network Using Random G...
Energy Efficient Power Failure Diagonisis For Wireless Network Using Random G...idescitation
 
Learning multifractal structure in large networks (Purdue ML Seminar)
Learning multifractal structure in large networks (Purdue ML Seminar)Learning multifractal structure in large networks (Purdue ML Seminar)
Learning multifractal structure in large networks (Purdue ML Seminar)Austin Benson
 
Lecture 5 - Qunatifying a Network.pdf
Lecture 5 - Qunatifying a Network.pdfLecture 5 - Qunatifying a Network.pdf
Lecture 5 - Qunatifying a Network.pdfclararoumany1
 

Similar to Scale free network Visualiuzation (20)

Mathematics Research Paper - Mathematics of Computer Networking - Final Draft
Mathematics Research Paper - Mathematics of Computer Networking - Final DraftMathematics Research Paper - Mathematics of Computer Networking - Final Draft
Mathematics Research Paper - Mathematics of Computer Networking - Final Draft
 
Unit 2 ml.pptx
Unit 2 ml.pptxUnit 2 ml.pptx
Unit 2 ml.pptx
 
PR-155: Exploring Randomly Wired Neural Networks for Image Recognition
PR-155: Exploring Randomly Wired Neural Networks for Image RecognitionPR-155: Exploring Randomly Wired Neural Networks for Image Recognition
PR-155: Exploring Randomly Wired Neural Networks for Image Recognition
 
Sess07 Clustering02_KohonenNet.pptx
Sess07 Clustering02_KohonenNet.pptxSess07 Clustering02_KohonenNet.pptx
Sess07 Clustering02_KohonenNet.pptx
 
Convolutional neural networks
Convolutional neural networksConvolutional neural networks
Convolutional neural networks
 
CNN.pptx
CNN.pptxCNN.pptx
CNN.pptx
 
CSA 3702 machine learning module 3
CSA 3702 machine learning module 3CSA 3702 machine learning module 3
CSA 3702 machine learning module 3
 
Neural
NeuralNeural
Neural
 
Artificial neural networks
Artificial neural networksArtificial neural networks
Artificial neural networks
 
NS-CUK Seminar: H.E.Lee, Review on "Structural Deep Embedding for Hyper-Netw...
NS-CUK Seminar: H.E.Lee,  Review on "Structural Deep Embedding for Hyper-Netw...NS-CUK Seminar: H.E.Lee,  Review on "Structural Deep Embedding for Hyper-Netw...
NS-CUK Seminar: H.E.Lee, Review on "Structural Deep Embedding for Hyper-Netw...
 
Magnetic field of a straight wire official.nb
Magnetic field of a straight wire official.nbMagnetic field of a straight wire official.nb
Magnetic field of a straight wire official.nb
 
Random graph models
Random graph modelsRandom graph models
Random graph models
 
201907 AutoML and Neural Architecture Search
201907 AutoML and Neural Architecture Search201907 AutoML and Neural Architecture Search
201907 AutoML and Neural Architecture Search
 
A Virtual Infrastructure for Mitigating Typical Challenges in Sensor Networks
A Virtual Infrastructure for Mitigating Typical Challenges in Sensor NetworksA Virtual Infrastructure for Mitigating Typical Challenges in Sensor Networks
A Virtual Infrastructure for Mitigating Typical Challenges in Sensor Networks
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 
Space time & power.
Space time & power.Space time & power.
Space time & power.
 
representation.pptx
representation.pptxrepresentation.pptx
representation.pptx
 
Energy Efficient Power Failure Diagonisis For Wireless Network Using Random G...
Energy Efficient Power Failure Diagonisis For Wireless Network Using Random G...Energy Efficient Power Failure Diagonisis For Wireless Network Using Random G...
Energy Efficient Power Failure Diagonisis For Wireless Network Using Random G...
 
Learning multifractal structure in large networks (Purdue ML Seminar)
Learning multifractal structure in large networks (Purdue ML Seminar)Learning multifractal structure in large networks (Purdue ML Seminar)
Learning multifractal structure in large networks (Purdue ML Seminar)
 
Lecture 5 - Qunatifying a Network.pdf
Lecture 5 - Qunatifying a Network.pdfLecture 5 - Qunatifying a Network.pdf
Lecture 5 - Qunatifying a Network.pdf
 

More from Harshit Srivastava

More from Harshit Srivastava (20)

Baseband processor final rev
Baseband processor final revBaseband processor final rev
Baseband processor final rev
 
Introduction to intel galileo board gen2
Introduction to intel galileo board gen2Introduction to intel galileo board gen2
Introduction to intel galileo board gen2
 
Impromptu ideas in respect of v2 v and other
Impromptu ideas in respect of v2 v and otherImpromptu ideas in respect of v2 v and other
Impromptu ideas in respect of v2 v and other
 
Prediction approach in predicting next user choice
Prediction approach in predicting next user choicePrediction approach in predicting next user choice
Prediction approach in predicting next user choice
 
Introduction to equalization
Introduction to equalizationIntroduction to equalization
Introduction to equalization
 
TCP/ IP
TCP/ IP TCP/ IP
TCP/ IP
 
Emic Effects on controlling automobile safety
Emic Effects on controlling automobile safety Emic Effects on controlling automobile safety
Emic Effects on controlling automobile safety
 
Emic effects in radio frequency instruments
Emic effects in radio frequency instrumentsEmic effects in radio frequency instruments
Emic effects in radio frequency instruments
 
Vacuum circuit breaker
Vacuum circuit breakerVacuum circuit breaker
Vacuum circuit breaker
 
Stepper motor
Stepper motorStepper motor
Stepper motor
 
Rocket
RocketRocket
Rocket
 
Roboticsin army
Roboticsin armyRoboticsin army
Roboticsin army
 
Quark particles
Quark particlesQuark particles
Quark particles
 
Power system contingencies
Power system  contingenciesPower system  contingencies
Power system contingencies
 
Power plant technology
Power plant technologyPower plant technology
Power plant technology
 
Optical tweezers
Optical tweezersOptical tweezers
Optical tweezers
 
Nuclear technology
Nuclear technologyNuclear technology
Nuclear technology
 
E waste management in india
E  waste management in indiaE  waste management in india
E waste management in india
 
Carbon nanotubes
Carbon  nanotubesCarbon  nanotubes
Carbon nanotubes
 
Anti collision technology of crashless cars
Anti collision technology of crashless carsAnti collision technology of crashless cars
Anti collision technology of crashless cars
 

Recently uploaded

Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 

Recently uploaded (20)

Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 

Scale free network Visualiuzation

  • 1. Visualizing Scale Free Network with the help of BA and FR algorithm By, Harshit Srivastava D03942013
  • 2. Start • As in the question number of nodes and the mean average distribution is been defined as 500 and 2.75 respectively. • Therefore, we can calculate number of edges in an undirected graph which leads to 500*2.75/2=688. • Now after knowing nodes and edges we can preferentially draw a BA model which can be indirectly said as no growth model as edges are already been defined. • As we know BA model shows, network grows with new nodes that enter the network subsequently. • With a condition that nodes that have more links will be preferred every time while network grows.
  • 3. Algorithm Steps • Start with a limited number of initial nodes • At each step, add a new node that has m edges that link to m existing nodes in the system • When choosing the nodes to which to attach, assume a probability P for a node i proportional to the number ki of links already attached to it • After t steps, the network will have n=t+m0 nodes and M=mt edges 0m 0mm    j j i i k k kP )( mtM mtn   0
  • 4. Distribution Algorithm • Then for finding distribution just, • Initially find how many connection each node has. • Initialize variable that will hold how many nodes have each degree. • This variable will be used to create a list of possible degrees a node can have • Dismantle the degrees with no connectivity • Find the last non zero element. • Plot these variables in respect of connectivity.
  • 5. Circular Layout (o/p) of 500 nodes and 688 edges Degree Freq. Circular layout in which darker colour represent more no. of degree and lightest represent least degree The degree of distribution will be as given 2.75
  • 6. Reinhold Algorithm View • This is forced based algorithm, based for graph layout. • Force based means it treats each vertex and edge as if it were a physical object whose position is influenced by force. • For example: in this algorithm each vertex can act as electron and each edge as a spring- the electrons all repel each other, while spring pull together. FR layout in which darker colour represent more no. of degree and lightest represent least degree
  • 7. Algorithm Steps • Define the width and length of the layout which is to be used. • Draw a graph G(V,E) randomly, and repeat it M times. • Then calculate repulsive forces on each vertex/electron, • Move the vertex will be having two information: position and displacement. • i.e., calculation for the difference vector between the positions of the two vertices • Now, calculate attractive forces, • On edges/springs • Have the same property as vector and difference in positon can be calculated.
  • 8. • Basically this algorithm works as, on atomic particles exerting forces from one another, where attractive and repulsive forces are defined as 𝑓𝑎 𝑑 = 𝑑2 𝑘 and 𝑓𝑟 𝑑 = − 𝑘2 𝑑 , 𝑤ℎ𝑒𝑟𝑒 d is defined as length of vertex or distance between two vertices and k is derived as optimal distance between vertices and written as, • k= 𝑎𝑟𝑒𝑎/𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑣𝑒𝑟𝑡𝑖𝑐𝑒𝑠 • This algorithm is basically included in many packages and tools to visualize network model.(igraph, Tulip, Graphviz, Gephi)
  • 9. • If we look into this model we will observe the average(shortest) path is around 5.27 and highest degree of node is 14. • The number of shortest paths are 187062 • This shortest path is calculated by 𝑙 = 𝑙𝑜𝑔𝑁 𝑙𝑜𝑔𝑙𝑜𝑔𝑘 , where k is degree of node
  • 10. Now to filter Giant Component • We will initially find the number of giant components and will then filter them out. • To find them we will initially find the probability of an edge between two attracted connections. • Find the number of nodes compose a giant connection which came around 69 nodes and 5 edges. • Basically we had 500 nodes and 688 edges initially after filtering giant components the node was left with 431(86.2% visible) nodes with 684( 99% visible) edges. • Which lead to increase the average degree of distribution to 3.19, with the change in average path 187056 and diameter same as 13.
  • 11. After removing Giant Components Degree Freq.FR layout in which darker colour represent highest degree and lightest represent least degree After filtering Giant component the degree of distribution increased to 3.19
  • 12. Average Degree of Distribution • In analysing this network we have a node of highest degree 14(pink colour) and lowest as usual is 1 (yellow). • So, according to question if we remove the highest degree node
  • 13. Final Network View after Removing Highest Degree • There would not much change in nodes as only 3 were removed but will observe the edges will decrease to 673. • We will observe there would be not so much change in the network as average degree is around 3.14. • But there would be no change in the diameter of the network. • Average path length increased to 5.37 with decrease in number of shortest path to 184470 FR layout in which darker colour represent highest degree and lightest represent least degree
  • 15. Conclusion • In this model we have observed that the structure has a phenomena of attractiveness in which rich get richer or the winner takes it all. • In extreme case it can be said as monopolistic network. • In this network if we compare and say that it is contagious network as many hubs will pass massively to connected multiple nodes. • We can say this scale free network remains nearly same as new nodes are added or removed.
  • 16. References • Barabási, Albert-László and Réka Albert, "Emergence of scaling in random networks", Science, 286:509-512, October 15, 1999 • Fruchterman, T. M. J., & Reingold, E. M. (1991). Graph Drawing by Force-Directed Placement. Software: Practice and Experience, 21(11) • Tools used iGraph, Gephi and Matlab.
  • 18. Algorithm If we have number of nodes and initial number of nodes 𝑚0, where minimum degree 1 ≤ 𝑑 ≤ 𝑚0, therefore to get scale free multigraph 𝑖. 𝑒. , 𝐺(0….N-1, E), 1. Make a clique for m random element of graph. 2. Add this element to a processed list L. 3. Take one node, j at random from the graph G. Set 𝑃 = (𝑘(𝑗)/𝑆𝑈𝑀(𝑘_𝑡 𝑎 )) 4. Pick a real number R uniformly at random between 0 and 1. 5. If P>R then add j to i’s adjacency list. 6. Repeat steps 4 and 6 until I has m nodes in its adjacency list. 7. Add i to the adjacency list of each node in its adjacency list. 8. Add i to the graph. 9. Repeat steps 3-9 until there are N nodes in the graph. *Where K(j) is the degree of the node j in the graph G and k_t is twice the number of edges ( the total number of degrees) in the graph.