C++ Neural Networks and Fuzzy Logic: Preface



Download 1,14 Mb.
Pdf ko'rish
bet122/443
Sana29.12.2021
Hajmi1,14 Mb.
#77367
1   ...   118   119   120   121   122   123   124   125   ...   443
Bog'liq
C neural networks and fuzzy logic

The Sigmoid Function

More than one function goes by the name sigmoid function. They differ in their formulas and in their ranges.

They all have a graph similar to a stretched letter s. We give below two such functions. The first is the

hyperbolic tangent function with values in (–1, 1). The second is the logistic function and has values between

0 and 1. You therefore choose the one that fits the range you want. The graph of the sigmoid logistic function

is given in Fig. 5.3.



1.  f(x) = tanh(x) = ( e

x

 − e



−x

) / (e


x

 + e


−x

)

2.  f(x) = 1 / (1+ e

−x

)

Note that the first function here, the hyperbolic tangent function, can also be written, as 1 − 2e



−x

 / (e



x

 + e



−x

 )

after adding and also subtracting e



−x

 to the numerator, and then simplifying. If now you multiply in the second

term both numerator and denominator by e

x

, you get 1 − 2/ (e



2x

 + 1). As x approaches −, this function goes to

−1, and as x approaches +, it goes to +1. On the other hand, the second function here, the sigmoid logistic

function, goes to 0 as x approaches −, and to +1 as x approaches +. You can see this if you rewrite 1 / (1+



e

−x

) as 1 − 1 / (1+ e



x

), after manipulations similar to those above.

C++ Neural Networks and Fuzzy Logic:Preface

Outputs


94


You can think of equation 1 as the bipolar equivalent of binary equation 2. Both functions have the same

shape.


Figure 5.3 is the graph of the sigmoid logistic function (number 2 of the preceding list).


Download 1,14 Mb.

Do'stlaringiz bilan baham:
1   ...   118   119   120   121   122   123   124   125   ...   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