Beginning Anomaly Detection Using



Download 26,57 Mb.
Pdf ko'rish
bet233/283
Sana12.07.2021
Hajmi26,57 Mb.
#116397
1   ...   229   230   231   232   233   234   235   236   ...   283
Bog'liq
Beginning Anomaly Detection Using Python-Based Deep Learning

 Loss  Functions

In the examples, y_true is the true label and y_pred is the predicted label.



 Mean Squared Error

keras.losses.mean_squared_error(y_true, y_pred)

If you have questions on the notation for this equation, refer to Chapter 

3

. See the 



equation in Figure 

A-15


.

Figure A-15.  The equation for mean squared error

Appendix A   intro to KerAs




341

Given input 



θ, the weights, the formula finds the average difference squared between 

the predicted value and the actual value. The parameter h



θ

 represents the model with 

the weight parameter 

θ passed in, so h

θ

(x



i

) gives the predicted value for x



i

 with model’s 

weights 

θ. The parameter y

i

 represents the actual prediction for the data point at index i. 

Lastly, there are n entries in total.

This loss metric can be used in autoencoders to help evaluate the difference between 

the reconstructed output and the original. In the case of anomaly detection, this metric 

can be used to separate the anomalies from the normal data points, since anomalies 

have a higher reconstruction error.


Download 26,57 Mb.

Do'stlaringiz bilan baham:
1   ...   229   230   231   232   233   234   235   236   ...   283




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