Python Programming for Biology: Bioinformatics and Beyond


Figure 23.3.  Example output of simple associative clustering at two thresholds



Download 7,75 Mb.
Pdf ko'rish
bet374/514
Sana30.12.2021
Hajmi7,75 Mb.
#91066
1   ...   370   371   372   373   374   375   376   377   ...   514
Bog'liq
[Tim J. Stevens, Wayne Boucher] Python Programming

Figure 23.3.  Example output of simple associative clustering at two thresholds. A

simple associative clustering method works by grouping points together into a cluster if

the separation between them (from one point to any other, considering all axes) is below a

specified threshold. Assuming the data is well separated and an appropriate threshold is

chosen, this method can be useful and is very fast. However, simple associative clustering

will naturally not separate overlapping clusters or situations where there are outliers,

within the clustering threshold, that can bridge between what otherwise appear to be

distinct groups.

The dbScanCluster function resembles simpleCluster but we add checks for the number

of neighbours and accordingly add any disconnected points to a list of noise, rather than a

cluster.  The  inputs  now  include  minNeighbour,  which  as  the  name  suggests  says  how

many neighbours an item should have at minimum.

def dbScanCluster(data, threshold, minNeighbour, distFunc=euclideanDist):

As before, the dictionary of neighbours is calculated and we initialise some variables,

including a set to hold the indices of the noise items.

neighbourDict = findNeighbours(data, distFunc, threshold)

clusters = []

noise = set()

pool = set(range(len(data)))




Download 7,75 Mb.

Do'stlaringiz bilan baham:
1   ...   370   371   372   373   374   375   376   377   ...   514




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
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