C++ Neural Networks and Fuzzy Logic: Preface


C, instead. The network did what we wanted and recalled B



Download 1,14 Mb.
Pdf ko'rish
bet30/443
Sana29.12.2021
Hajmi1,14 Mb.
#77367
1   ...   26   27   28   29   30   31   32   33   ...   443
Bog'liq
C neural networks and fuzzy logic

C, instead. The network did what we wanted and recalled B. But why not A? To answer this, let us ask is C

closer to A or B? How do we compare? We use the distance formula for two four−dimensional points. If (a, b,

c, d) and (e, f, g, h) are two four−dimensional points, the distance between them is:

[radic][(a – e)2 + (b – f)2 + (c – g)2 + (d – h)2 ]

The distance between A and C is [radic]3, whereas the distance between B and C is just 1. So since B is closer

in this sense, B was recalled rather than A. You may verify that if we do the same exercise with D = (0, 0, 1,

0), we will see that the network recalls A, which is closer than B to D.

Hamming Distance

When we talk about closeness of a bit pattern to another bit pattern, the Euclidean distance need not be

considered. Instead, the Hamming distance can be used, which is much easier to determine, since it is the

number of bit positions in which the two patterns being compared differ. Patterns being strings, the Hamming

distance is more appropriate than the Euclidean distance.

NOTE:  The weight matrix W we gave in this example is not the only weight matrix that

would enable the network to recall the patterns A and B correctly. You can see that if we

replace each of 3 and –3 in the matrix by say, 2 and –2, respectively, the resulting matrix

would also facilitate the same performance from the network. For more details, consult

C++ Neural Networks and Fuzzy Logic:Preface

Hamming Distance

24



Chapter 4.


Download 1,14 Mb.

Do'stlaringiz bilan baham:
1   ...   26   27   28   29   30   31   32   33   ...   443




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