Beginning Anomaly Detection Using


val_loss: 0.0248 - val_mean_absolute_error: 0.0248



Download 26,57 Mb.
Pdf ko'rish
bet155/283
Sana12.07.2021
Hajmi26,57 Mb.
#116397
1   ...   151   152   153   154   155   156   157   158   ...   283
Bog'liq
Beginning Anomaly Detection Using Python-Based Deep Learning

val_loss: 0.0248 - val_mean_absolute_error: 0.0248

Now you can use the predicted dataset and the test dataset to compute the difference 

as diff, which is then passed through vector norms. Calculating the length or magnitude 

of vectors is often required directly as a regularization method in machine learning. 

Then you can sort the scores/diffs and use a cutoff value to pick the threshold. This 

obviously can change as per the parameters you choose, particularly the cutoff value 

(which is 0.99 in Figure 

6-33


). The figure also shows the code to compute the threshold.

Figure 6-32.  Code to predict on the testing dataset

Chapter 6   Long Short-term memory modeLS 




240

You got 0.333 as the threshold; anything above is considered an anomaly.

Figure 

6-34


 shows the code to plot testing dataset (GREEN) and the corresponding 

predicted dataset (RED).




Download 26,57 Mb.

Do'stlaringiz bilan baham:
1   ...   151   152   153   154   155   156   157   158   ...   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