Beginning Anomaly Detection Using



Download 26,57 Mb.
Pdf ko'rish
bet116/283
Sana12.07.2021
Hajmi26,57 Mb.
#116397
1   ...   112   113   114   115   116   117   118   119   ...   283
Bog'liq
Beginning Anomaly Detection Using Python-Based Deep Learning

Figure 4-69.  Code to evaluate the model

Figure 4-70.  Code to predict the anomalies based on the threshold

Figure 4-71.  Code to calculate AUC

Compute the AUC (Area Under the Curve 0.0 to 1.0); it comes up as 0.93, which is 

very high. Figure 

4-71


 shows the code to calculate the AUC.

You can now visualize the confusion matrix to see how well you did with the model. 

Figure 

4-72


 shows the code to show the confusion matrix.

Chapter 4   autoenCoders




174

Using the predictions of the labels (normal or anomaly) you can plot the anomalies 

in comparison to the normal data points. Figure 

4-73


 shows the anomalies relative to the 

threshold.



Figure 4-72.  Code to show the confusion matrix

Chapter 4   autoenCoders




175

Figure 


4-74

 shows the graph of the model as visualized by TensorBoard.




Download 26,57 Mb.

Do'stlaringiz bilan baham:
1   ...   112   113   114   115   116   117   118   119   ...   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