Algorithms For Dummies


Exploring the World of Graphs



Download 7,18 Mb.
Pdf ko'rish
bet295/651
Sana15.07.2021
Hajmi7,18 Mb.
#120357
1   ...   291   292   293   294   295   296   297   298   ...   651
Bog'liq
Algorithms

 Exploring the World of Graphs

When modeling real-world data, such as the tweets about a particular topic, the 

nodes also tend to cluster. You might think of this tendency as a kind of  trending — 

what people feel is important now. The fancy math term for this tendency is  



clustering, and measuring this tendency helps you understand which group of 

nodes is most important in a graph. Here is the code you use to measure clustering 

for the example graph:

nx.clustering(AGraph)

{1: 0.16666666666666666, 2: 1.0, 3: 0.3333333333333333,

 4: 0.0, 5: 0.0, 6: 0.0}

The output shows that the nodes are most likely to cluster around node 2 even 

though node 1 has the highest degree. That’s because both nodes 1 and 3 have high 

degrees and node 2 is between them.

Clustering graphs helps aid understanding data. The technique helps show that 

there are nodes in the graph that are better connected and nodes that risk isola-

tion. When you understand how elements connect in a graph, you can determine 

how to strengthen its structure or, on the contrary, destroy it. During the Cold 

war, military scientists from both the United States and the Soviet bloc studied 

graph clustering to better understand how to disrupt the other side’s supply chain 

in case of a conflict.




Download 7,18 Mb.

Do'stlaringiz bilan baham:
1   ...   291   292   293   294   295   296   297   298   ...   651




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2025
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish