Python Artificial Intelligence Projects for Beginners


[ 80 ] Feed-forward neural networks



Download 16,12 Mb.
Pdf ko'rish
bet48/65
Sana02.01.2022
Hajmi16,12 Mb.
#311589
1   ...   44   45   46   47   48   49   50   51   ...   65
Bog'liq
Python Artificial Intelligence Projects for Beginners - Get up and running with 8 smart and exciting AI applications by Joshua Eckroth (z-lib.org)

[ 80 ]
Feed-forward neural networks
Most of the neural networks that we design are feed forward and fully connected. This
means that every neuron connects to every neuron in the next layer. The first layer receives
inputs and the last layer gives outputs. The structure of the network, meaning the neuron
counts and their connections, is decided ahead of time and cannot change, at least not
during training. Also, every input must have the same number of values. This means that
images, for example, may need to be resized to match the number of input neurons. The
number of neurons in each layer is that layer's shape:
(GGFHQTYCTFPGWTCNFGUKIP
Each individual neuron adds up the values it receives from the prior layer. Each connection
from one neuron to the next has a weight. When adding the inputs, the inputs are
multiplied by the respective weights. Each neuron also has an extra input called a 
bias
,
which is not connected to any other neurons. Once the weighted inputs have been added,
an activation function is applied to the sum.


Neural Networks
Chapter 4
[ 81 ]
There are several common activation functions, for example, the hyperbolic tangent, whose
shape is shown here:
*[RGTDQNKEVCPIGPV
The output of each neuron is whatever comes out of the activation function.
The connection waits in a network start random and are adjusted during training. The
purpose of training is to examine hundreds, or thousands, or even more example cases and
adjust the network's weights until the network is sufficiently accurate.
After training, we have a network structure that we have already defined, and all the
weights that were learned during training. As such, the following is true:
A trained neural network = Structure + Learned weights


Neural Networks
Chapter 4
[ 82 ]
This is shown here:
0GVYQTMUVTWEVWTGCHVGTVTCKPKPIYKVJYGKIJVU
Now the network is ready to use on new data outside the training set.


Neural Networks
Chapter 4

Download 16,12 Mb.

Do'stlaringiz bilan baham:
1   ...   44   45   46   47   48   49   50   51   ...   65




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