Beginning Anomaly Detection Using



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

Figure 4-59.  Code to import packages in Jupyter

Chapter 4   autoenCoders




167

You will use the example of credit card data to detect whether a transaction is 

normal/expected or abnormal/anomaly. Figure 

4-61


 shows the data being loaded into a 

Pandas dataframe.



Figure 4-60.  Code to visualize the results

Chapter 4   autoenCoders




168

You will collect 20k normal and 400 abnormal records. You can pick different ratios 

to try, but in general more normal data examples are better because you want to teach 

your autoencoder what normal data looks like. Too much of abnormal data in training 

will train the autoencoder to learn that the anomalies are actually normal, which goes 

against your goal. Figure 

4-62

 shows the code to take the majority of normal data records 



with a few abnormal records.


Download 26,57 Mb.

Do'stlaringiz bilan baham:
1   ...   109   110   111   112   113   114   115   116   ...   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